From ce6fdf0ab9e113f02fd41744e2176d5c3b538c48 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 22 Apr 2025 17:49:44 +1000 Subject: 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 --- main.fish | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'main.fish') 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' -- cgit v1.2.3-freya