diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-06-26 19:00:16 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-06-26 19:03:49 +0200 |
| commit | df492f83e63f436f63a1992fcb3c589959bf16b9 (patch) | |
| tree | 460a6ed7df48b5a2808d91ac68e3b597f60d589e /completions/fish/riverctl.fish | |
| parent | 61829d82feba4d1f2a7a4125259aa33167a70756 (diff) | |
| download | river-df492f83e63f436f63a1992fcb3c589959bf16b9.tar.gz river-df492f83e63f436f63a1992fcb3c589959bf16b9.tar.xz | |
completions: add set-cursor-warp for zsh/fish
Diffstat (limited to 'completions/fish/riverctl.fish')
| -rw-r--r-- | completions/fish/riverctl.fish | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish index 8c8667b..de8a5d9 100644 --- a/completions/fish/riverctl.fish +++ b/completions/fish/riverctl.fish @@ -4,7 +4,7 @@ end 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 input list-inputs list-input-configs move resize snap send-to-output spawn swap toggle-float toggle-fullscreen zoom default-layout output-layout set-layout-value mod-layout-value 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 + if contains -- $i close csd-filter-add exit float-filter-add focus-output focus-view input list-inputs list-input-configs move resize snap send-to-output spawn swap toggle-float toggle-fullscreen zoom default-layout output-layout set-layout-value mod-layout-value 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 set-cursor-warp xcursor-theme return 1 end end @@ -80,6 +80,7 @@ complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a border-wi 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 set-repeat -d 'Set the keyboard repeat rate and repeat delay' +complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a set-cursor-warp -d 'Set the cursor warp mode.' complete -c riverctl -x -n '__fish_riverctl_complete_no_subcommand' -a xcursor-theme -d 'Set the xcursor theme' # Subcommands @@ -94,6 +95,7 @@ complete -c riverctl -x -n '__fish_seen_subcommand_from map' -a complete -c riverctl -x -n '__fish_seen_subcommand_from unmap' -a '-release' complete -c riverctl -x -n '__fish_seen_subcommand_from attach-mode' -a 'top bottom' complete -c riverctl -x -n '__fish_seen_subcommand_from focus-follows-cursor' -a 'disabled normal strict' +complete -c riverctl -x -n '__fish_seen_subcommand_from set-cursor-warp' -a 'disabled on-output-change' # Subcommands for 'input' complete -c riverctl -x -n '__fish_seen_subcommand_from input; and __fish_riverctl_complete_from_input' -a "(__riverctl_list_input_devices)" |
