From 58270f3b8b7d99c8f051d3ac1303a23c836cb433 Mon Sep 17 00:00:00 2001 From: windowsrefund Date: Mon, 23 Sep 2024 14:06:49 -0400 Subject: [PATCH 1/2] dunst --- USAGE.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/USAGE.md b/USAGE.md index b9b0724..e1287ab 100644 --- a/USAGE.md +++ b/USAGE.md @@ -15,6 +15,7 @@ For more general usage, look at the [Usage section] in [README.md]. - [fzf](#fzf) - [bat](#bat) - [qutebrowser](#qutebrowser) +- [rofi](#rofi) ## Shell completions @@ -477,6 +478,27 @@ hook = "cp -f %f ~/.config/rofi/base16-theme.rasi" @theme "~/.config/rofi/base16-theme.rasi" ``` +## Dunst +Add the following to `~/.config/tinted-theming/tinty/config.toml`: + +```toml +[[items]] +path = "https://github.com/tinted-theming/base16-dunst" +name = "base16-dunst" +themes-dir = "themes" +hook = "cp -f %f ~/.config/dunst/dunstrc && systemctl --user restart dunst" +``` + +The above `hook` assumes `dunst` is being managed as a service. If that is not the case, you will need to handle the restart for your system accordingly. + +The above workflow is an all or nothing ordeal as the `dunstrc` configuration file does not appear to support importing or including additional files. + +However, limited testing has shown `dunst` will not complain if its configuration file contains multiple `[global]` sections. This means we can persist our tinty-agnostic settings (fonts, etc) in a separate file and then use our `hook` to concatenate them like so: + +```toml +hook = "cat ~/.config/dunst/dunstrc.local %f > ~/.config/dunst/dunstrc && systemctl --user restart dunst" +``` + [Usage section]: https://github.com/tinted-theming/tinty?tab=readme-ov-file#usage [README.md]: https://github.com/tinted-theming/tinty/blob/main/README.md [bat]: https://github.com/sharkdp/bat From 026b7353121124db011eeb8bab0dff5bd0908056 Mon Sep 17 00:00:00 2001 From: windowsrefund Date: Mon, 23 Sep 2024 14:08:20 -0400 Subject: [PATCH 2/2] add reference --- USAGE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/USAGE.md b/USAGE.md index e1287ab..8871626 100644 --- a/USAGE.md +++ b/USAGE.md @@ -16,6 +16,7 @@ For more general usage, look at the [Usage section] in [README.md]. - [bat](#bat) - [qutebrowser](#qutebrowser) - [rofi](#rofi) +- [dunst](#dunst) ## Shell completions