diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-28 16:45:16 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-28 16:45:16 +1100 |
| commit | 587e29efe4584c8fa8016901302fd4214f78be66 (patch) | |
| tree | 734816a3e818112cb706363478e6d3a6be7c1822 /completions | |
| parent | toggles: update communication (diff) | |
| download | caelestia-cli-587e29efe4584c8fa8016901302fd4214f78be66.tar.gz caelestia-cli-587e29efe4584c8fa8016901302fd4214f78be66.tar.bz2 caelestia-cli-587e29efe4584c8fa8016901302fd4214f78be66.zip | |
install scripts for all modules
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 c1ec161..dd12057 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 shell toggle workspace-action scheme screenshot record clipboard clipboard-delete emoji-picker wallpaper pip +set -l commands help install shell toggle workspace-action scheme screenshot record clipboard clipboard-delete emoji-picker wallpaper pip set -l not_seen "not $seen $commands" # Disable file completions @@ -8,6 +8,7 @@ complete -c caelestia -f # Subcommands complete -c caelestia -n $not_seen -a 'help' -d 'Show help' +complete -c caelestia -n $not_seen -a 'install' -d 'Install a module' 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' @@ -20,6 +21,10 @@ complete -c caelestia -n $not_seen -a 'emoji-picker' -d 'Open the emoji picker' complete -c caelestia -n $not_seen -a 'wallpaper' -d 'Change the wallpaper' complete -c caelestia -n $not_seen -a 'pip' -d 'Picture in picture utilities' +# Install +set -l commands discord foot fuzzel hypr safeeyes scripts shell +complete -c caelestia -n "$seen install && not $seen $commands" -a "$commands" + # Shell set -l commands quit reload-css show brightness media set -l not_seen "$seen shell && not $seen $commands" |