From 125860de2898e32b39dca78d2d73b5c312c67b3b Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 26 Jan 2025 21:22:12 +1100 Subject: scheme: gtk theming Via adw-gtk3 theme --- main.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main.fish') diff --git a/main.fish b/main.fish index 382d2ea..81543b1 100755 --- a/main.fish +++ b/main.fish @@ -33,7 +33,10 @@ end if test "$argv[1]" = scheme set -l valid_schemes dynamic mocha macchiato frappe latte - contains "$argv[2]" $valid_schemes && echo -n $argv[2] > $CACHE/scheme/current.txt || error "Invalid scheme: $argv[2]" + if contains "$argv[2]" $valid_schemes + echo -n $argv[2] > $CACHE/scheme/current.txt || error "Invalid scheme: $argv[2]" + test -f $CONFIG/gtk/update-scheme.fish && $CONFIG/gtk/update-scheme.fish + end exit end -- cgit v1.2.3-freya