summaryrefslogtreecommitdiff
path: root/main.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-23 20:30:19 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-23 20:30:19 +1100
commit557e1e4abe52c938a4d92ae58a44856982d4e2c5 (patch)
treeadcfb8c1e9b7581052e7d43d9053555602f9c893 /main.fish
parentemoji-picker: add emoji (diff)
downloadcaelestia-cli-557e1e4abe52c938a4d92ae58a44856982d4e2c5.tar.gz
caelestia-cli-557e1e4abe52c938a4d92ae58a44856982d4e2c5.tar.bz2
caelestia-cli-557e1e4abe52c938a4d92ae58a44856982d4e2c5.zip
scheme: light/dark mode
Diffstat (limited to 'main.fish')
-rwxr-xr-xmain.fish10
1 files changed, 1 insertions, 9 deletions
diff --git a/main.fish b/main.fish
index 575f819..32009fc 100755
--- a/main.fish
+++ b/main.fish
@@ -31,15 +31,7 @@ if test "$argv[1]" = workspace-action
end
if test "$argv[1]" = scheme
- set -l valid_schemes (path change-extension '' $src/data/schemes/* | sed 's!.*/!!')
- if contains -- "$argv[2]" $valid_schemes
- mkdir -p $C_STATE/scheme
- cp $src/data/schemes/$argv[2].txt $C_STATE/scheme/current.txt
- echo -n $argv[2] > $C_STATE/scheme/current-name.txt
- log "Changed scheme to $argv[2]"
- else
- error "Invalid scheme: $argv[2]"
- end
+ $src/scheme/main.fish $argv[2..]
exit
end