From 308ceb863a10ca80cd701828484117b5543f1e2f Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Tue, 22 Jul 2025 02:46:23 +0200 Subject: [PATCH] flavours: fix config show mako borders in monochrome --- dot-config/flavours/config.toml | 11 ++--------- .../flavours/templates/mako/templates/alpha.mustache | 6 +++--- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/dot-config/flavours/config.toml b/dot-config/flavours/config.toml index e5b1f63a..7c015477 100644 --- a/dot-config/flavours/config.toml +++ b/dot-config/flavours/config.toml @@ -82,19 +82,12 @@ rewrite = true [[item]] template = "dircolors" file = "~/.config/flavours/templates/dircolors/scripts/gen_dircolors.py" -hook = "python3 ~/.config/flavours/templates/dircolors/scripts/gen_dircolors.py > ~/.dircolors && eval 'dircolors ~/.dircolors'" -# hook = "chmod 755 ~/.config/flavours/templates/dircolors/scripts/gen_dircolors.py && eval 'dircolors <(python3 ~/.config/flavours/templates/dircolors/scripts/gen_dircolors.py)'" +hook = "eval dircolors <(python3 ~/.config/flavours/templates/dircolors/scripts/gen_dircolors.py)" rewrite = true [[item]] template = "mako" subtemplate = "alpha" file = "~/.config/mako/config" -hook = "makoctl reload" +hook = "makoctl reload && notify-send -u low Flavours \"colorscheme applied\"" -[[item]] -template = "mako" -subtemplate = "alpha" -file = "/dev/null" -rewrite = true -hook = "notify-send -u low Flavours \"new theme applied\"" diff --git a/dot-config/flavours/templates/mako/templates/alpha.mustache b/dot-config/flavours/templates/mako/templates/alpha.mustache index bf49bbd6..b909b29f 100644 --- a/dot-config/flavours/templates/mako/templates/alpha.mustache +++ b/dot-config/flavours/templates/mako/templates/alpha.mustache @@ -5,14 +5,14 @@ background-color=#{{base01-hex}}aa text-color=#{{base05-hex}} -border-color=#{{base0C-hex}} +border-color=#{{base04-hex}} [urgency=low] background-color=#{{base01-hex}}aa text-color=#{{base0A-hex}} -border-color=#{{base0C-hex}} +border-color=#{{base04-hex}} [urgency=high] background-color=#{{base01-hex}}aa text-color=#{{base08-hex}} -border-color=#{{base0C-hex}} +border-color=#{{base04-hex}} -- 2.51.2