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
This commit is contained in:
2 * r + 2 * t
2025-04-22 17:49:44 +10:00
parent 439f6e6321
commit ce6fdf0ab9
8 changed files with 131 additions and 85 deletions
+13
View File
@@ -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'