summaryrefslogtreecommitdiff
path: root/main.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-22 17:49:44 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-22 17:49:44 +1000
commitce6fdf0ab9e113f02fd41744e2176d5c3b538c48 (patch)
tree1f416c5025ba54de8544818d9da6e5d771b7749f /main.fish
parentinstall: spicetify install marketplace (diff)
downloadcaelestia-cli-ce6fdf0ab9e113f02fd41744e2176d5c3b538c48.tar.gz
caelestia-cli-ce6fdf0ab9e113f02fd41744e2176d5c3b538c48.tar.bz2
caelestia-cli-ce6fdf0ab9e113f02fd41744e2176d5c3b538c48.zip
feat: up to 3 options for dynamic scheme
Have up to 3 options for base colour for dynamic scheme Variants moved to new command Also remove parallel dependency
Diffstat (limited to 'main.fish')
-rwxr-xr-xmain.fish13
1 files changed, 13 insertions, 0 deletions
diff --git a/main.fish b/main.fish
index 0c572ba..0ae2863 100755
--- a/main.fish
+++ b/main.fish
@@ -44,6 +44,18 @@ if test "$argv[1]" = scheme
exit
end
+if test "$argv[1]" = variant
+ set -l variants vibrant tonalspot expressive fidelity fruitsalad rainbow neutral content monochrome
+ if contains -- "$argv[2]" $variants
+ echo -n $argv[2] > $C_STATE/scheme/current-variant.txt
+ $src/scheme/gen-scheme.fish
+ else
+ error "Invalid variant: $argv[2]"
+ end
+
+ exit
+end
+
if test "$argv[1]" = install
set -l valid_modules scripts btop discord firefox fish foot fuzzel hypr safeeyes shell slurp spicetify gtk qt vscode
if test "$argv[2]" = all
@@ -76,6 +88,7 @@ echo ' shell: start the shell or message it'
echo ' toggle: toggle a special workspace'
echo ' workspace-action: execute a Hyprland workspace dispatcher in the current group'
echo ' scheme: change the current colour scheme'
+echo ' variant: change the current scheme variant'
echo ' screenshot: take a screenshot'
echo ' record: take a screen recording'
echo ' clipboard: open clipboard history'