aboutsummaryrefslogtreecommitdiff
path: root/completions/fish/riverctl.fish
diff options
context:
space:
mode:
authorskuzzymiglet <skuzzymiglet@gmail.com>2021-04-20 18:56:31 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2021-04-21 16:47:27 +0200
commit967b274c01da671364ed50237db61b032c398c38 (patch)
treee3e97853fcac643d75759aca663c889f977adb6b /completions/fish/riverctl.fish
parent924a4707b73d275c71e44aac0e0a0cf37e4d7ea5 (diff)
downloadriver-967b274c01da671364ed50237db61b032c398c38.tar.gz
river-967b274c01da671364ed50237db61b032c398c38.tar.xz
completions: Remove completions for removed subcommand "layout"
Diffstat (limited to 'completions/fish/riverctl.fish')
-rw-r--r--completions/fish/riverctl.fish4
1 files changed, 1 insertions, 3 deletions
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index 281805a..556c0d6 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -1,6 +1,6 @@
function __fish_riverctl_complete_no_subcommand
for i in (commandline -opc)
- if contains -- $i close csd-filter-add exit float-filter-add focus-output focus-view layout mod-main-count mod-main-factor move resize snap send-to-output spawn swap toggle-float toggle-fullscreen zoom set-focused-tags set-view-tags toggle-focused-tags toggle-view-tags spawn-tagmask declare-mode enter-mode map map-pointer unmap unmap-pointer attach-mode background-color border-color-focused border-color-unfocused border-width focus-follows-cursor opacity outer-padding set-repeat view-padding xcursor-theme declare-option get-option set-option unset-option mod-option output_title
+ if contains -- $i close csd-filter-add exit float-filter-add focus-output focus-view mod-main-count mod-main-factor move resize snap send-to-output spawn swap toggle-float toggle-fullscreen zoom set-focused-tags set-view-tags toggle-focused-tags toggle-view-tags spawn-tagmask declare-mode enter-mode map map-pointer unmap unmap-pointer attach-mode background-color border-color-focused border-color-unfocused border-width focus-follows-cursor opacity outer-padding set-repeat view-padding xcursor-theme declare-option get-option set-option unset-option mod-option output_title
return 1
end
end
@@ -14,7 +14,6 @@ complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a exit
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a float-filter-add -d 'Add app-id to the float filter list'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a focus-output -d 'Focus the next or previous output'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a focus-view -d 'Focus the next or previous view in the stack'
-complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a layout -d 'Provide a command which river will use for generating the layour of non-floating windows'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a mod-main-count -d 'Increase or decrease the number of "main" views'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a mod-main-factor -d 'Increase or decrease the "main factor"'
complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a move -d 'Move the focused view in the specified direction'
@@ -62,7 +61,6 @@ complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a output_ti
# Subcommands
complete -c riverctl -x -n '__fish_seen_subcommand_from focus-output' -a 'next previous'
complete -c riverctl -x -n '__fish_seen_subcommand_from focus-view' -a 'next previous'
-complete -c riverctl -x -n '__fish_seen_subcommand_from layout' -a 'full'
complete -c riverctl -x -n '__fish_seen_subcommand_from move' -a 'up down left right'
complete -c riverctl -x -n '__fish_seen_subcommand_from resize' -a 'horizontal vertical'
complete -c riverctl -x -n '__fish_seen_subcommand_from snap' -a 'up down left right'