wsaction: remove

This commit is contained in:
2 * r + 2 * t
2025-06-24 23:53:44 +10:00
parent f47b4fe661
commit 9ed04e7a85
3 changed files with 2 additions and 38 deletions
+1 -6
View File
@@ -1,7 +1,7 @@
set -l seen '__fish_seen_subcommand_from'
set -l has_opt '__fish_contains_opt'
set -l commands shell toggle workspace-action scheme screenshot record clipboard emoji-picker wallpaper pip
set -l commands shell toggle scheme screenshot record clipboard emoji-picker wallpaper pip
set -l not_seen "not $seen $commands"
# Disable file completions
@@ -13,7 +13,6 @@ complete -c caelestia -s 'h' -l 'help' -d 'Show help'
# Subcommands
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 'Manage the colour scheme'
complete -c caelestia -n $not_seen -a 'screenshot' -d 'Take a screenshot'
complete -c caelestia -n $not_seen -a 'record' -d 'Start a screen recording'
@@ -75,10 +74,6 @@ complete -c caelestia -n "$seen shell && $seen notifs && not $seen clear" -a 'cl
set -l commands communication music specialws sysmon todo
complete -c caelestia -n "$seen toggle && not $seen drawers && not $seen $commands" -a "$commands" -d 'toggle'
# Workspace action
set -l commands workspace workspacegroup movetoworkspace movetoworkspacegroup
complete -c caelestia -n "$seen workspace-action && not $seen $commands" -a "$commands" -d 'action'
# Scheme
set -l commands list get set
set -l not_seen "$seen scheme && not $seen $commands"