summaryrefslogtreecommitdiff
path: root/main.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-26 21:22:12 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-26 21:22:12 +1100
commit125860de2898e32b39dca78d2d73b5c312c67b3b (patch)
tree4161834a2a4132600059127152436c0585e30f58 /main.fish
parentscheme: dynamic scheme for fuzzel (diff)
downloadcaelestia-cli-125860de2898e32b39dca78d2d73b5c312c67b3b.tar.gz
caelestia-cli-125860de2898e32b39dca78d2d73b5c312c67b3b.tar.bz2
caelestia-cli-125860de2898e32b39dca78d2d73b5c312c67b3b.zip
scheme: gtk theming
Via adw-gtk3 theme
Diffstat (limited to 'main.fish')
-rwxr-xr-xmain.fish5
1 files changed, 4 insertions, 1 deletions
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