From 891eb38b33f9e0321ed7802ce41d747accb92536 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Wed, 21 Apr 2021 16:51:53 +0200 Subject: [PATCH] completions: delete more removed commands --- completions/bash/riverctl | 4 ---- completions/fish/riverctl.fish | 6 +----- completions/zsh/_riverctl | 4 ---- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/completions/bash/riverctl b/completions/bash/riverctl index bb9fbad..e747516 100644 --- a/completions/bash/riverctl +++ b/completions/bash/riverctl @@ -8,8 +8,6 @@ function __riverctl_completion () float-filter-add \ focus-output \ focus-view \ - mod-main-count \ - mod-main-factor \ move \ resize \ snap \ @@ -37,9 +35,7 @@ function __riverctl_completion () border-width \ focus-follow-cursor \ opacity \ - outer-padding \ set-repeat \ - view-padding \ xcursor-theme \ declare-option \ get-option \ diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish index 556c0d6..e893ce4 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 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 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 set-repeat xcursor-theme declare-option get-option set-option unset-option mod-option output_title return 1 end end @@ -14,8 +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 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' complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a resize -d 'Resize the focused view along the given axis' complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a snap -d 'Snap the focused view to the specified screen edge' @@ -46,9 +44,7 @@ complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a border-co complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a border-width -d 'Set the border width to pixels' complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a focus-follows-cursor -d 'Configure the focus behavior when moving cursor' complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a opacity -d 'Configure server-side opacity of views' -complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a outer-padding -d 'Set the padding around the edge of the screen to pixels' complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a set-repeat -d 'Set the keyboard repeat rate and repeat delay' -complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a view-padding -d 'Set the padding around the edge of each view to pixels' complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a xcursor-theme -d 'Set the xcursor theme' # Options complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a declare-option -d 'Declare a new option with the given type and initial value' diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl index 1623c6d..dc60f39 100644 --- a/completions/zsh/_riverctl +++ b/completions/zsh/_riverctl @@ -20,8 +20,6 @@ _riverctl() { 'float-filter-add:Add app-id to the float filter list' 'focus-output:Focus the next or previous output' 'focus-view:Focus the next or previous view in the stack' - 'mod-main-count:Increase or decrease the number of "main" views' - 'mod-main-factor:Increase or decrease the "main factor"' 'move:Move the focused view in the specified direction' 'resize:Resize the focused view along the given axis' 'snap:Snap the focused view to the specified screen edge' @@ -52,9 +50,7 @@ _riverctl() { 'border-width:Set the border width to pixels' 'focus-follows-cursor:Configure the focus behavior when moving cursor' 'opacity:Configure server-side opacity of views' - 'outer-padding:Set the padding around the edge of the screen to pixels' 'set-repeat:Set the keyboard repeat rate and repeat delay' - 'view-padding:Set the padding around the edge of each view to pixels' 'xcursor-theme:Set the xcursor theme' # Options 'declare-option:Declare a new option with the given type and initial value'