diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-22 17:49:44 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-22 17:49:44 +1000 |
| commit | ce6fdf0ab9e113f02fd41744e2176d5c3b538c48 (patch) | |
| tree | 1f416c5025ba54de8544818d9da6e5d771b7749f /completions | |
| parent | install: spicetify install marketplace (diff) | |
| download | caelestia-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 'completions')
| -rw-r--r-- | completions/caelestia.fish | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/completions/caelestia.fish b/completions/caelestia.fish index 26c983c..90f3314 100644 --- a/completions/caelestia.fish +++ b/completions/caelestia.fish @@ -1,6 +1,6 @@ set -l seen '__fish_seen_subcommand_from' set -l has_opt '__fish_contains_opt' -set -l commands help install shell toggle workspace-action scheme screenshot record clipboard clipboard-delete emoji-picker wallpaper pip +set -l commands help install shell toggle workspace-action scheme variant screenshot record clipboard clipboard-delete emoji-picker wallpaper pip set -l not_seen "not $seen $commands" # Disable file completions @@ -13,6 +13,7 @@ complete -c caelestia -n $not_seen -a 'shell' -d 'Start the shell or message it' complete -c caelestia -n $not_seen -a 'toggle' -d 'Toggle a special workspace' complete -c caelestia -n $not_seen -a 'workspace-action' -d 'Exec a dispatcher in the current group' complete -c caelestia -n $not_seen -a 'scheme' -d 'Switch the current colour scheme' +complete -c caelestia -n $not_seen -a 'variant' -d 'Switch the current scheme variant' complete -c caelestia -n $not_seen -a 'screenshot' -d 'Take a screenshot' complete -c caelestia -n $not_seen -a 'record' -d 'Take a screen recording' complete -c caelestia -n $not_seen -a 'clipboard' -d 'Open clipboard history' @@ -69,6 +70,10 @@ for scheme in $commands end end +# Variant +set -l commands vibrant tonalspot expressive fidelity fruitsalad rainbow neutral content monochrome +complete -c caelestia -n "$seen variant && not $seen $commands" -a "$commands" + # Record set -l not_seen "$seen record && not $has_opt -s h help" complete -c caelestia -n "$not_seen && not $has_opt -s s sound && not $has_opt -s r region && not $has_opt -s c compression && not $has_opt -s H hwaccel" \ |