diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-04-20 19:00:16 +0200 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2022-04-20 20:33:55 +0200 |
| commit | 8f59075bc505910207bb803d3530c6daee36577c (patch) | |
| tree | 5693410e8fc0cb9ef0309a7e6be7901641b772e3 /completions/fish/riverctl.fish | |
| parent | 3979dd5cf917619da47bb4fff428d1e08050d943 (diff) | |
| download | river-8f59075bc505910207bb803d3530c6daee36577c.tar.gz river-8f59075bc505910207bb803d3530c6daee36577c.tar.xz | |
completions: fish: new completions for the ‘hide-cursor’ command
Diffstat (limited to 'completions/fish/riverctl.fish')
| -rw-r--r-- | completions/fish/riverctl.fish | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish index 36cf750..8b92cb6 100644 --- a/completions/fish/riverctl.fish +++ b/completions/fish/riverctl.fish @@ -57,6 +57,7 @@ complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'border-color-unf complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'border-color-urgent' -d 'Set the border color of urgent views' complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'border-width' -d 'Set the border width to pixels' complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'focus-follows-cursor' -d 'Configure the focus behavior when moving cursor' +complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'hide-cursor' -d 'Hide cursor when typing or after inactivity' complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'set-repeat' -d 'Set the keyboard repeat rate and repeat delay' complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'set-cursor-warp' -d 'Set the cursor warp mode.' complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'xcursor-theme' -d 'Set the xcursor theme' @@ -102,3 +103,10 @@ complete -c riverctl -x -n '__fish_seen_subcommand_from input; and __fish_riverc complete -c riverctl -x -n '__fish_seen_subcommand_from input; and __fish_riverctl_complete_arg 4; and __fish_seen_subcommand_from scroll-method' -a 'two-finger' -d 'Scroll by swiping with two fingers simultaneously' complete -c riverctl -x -n '__fish_seen_subcommand_from input; and __fish_riverctl_complete_arg 4; and __fish_seen_subcommand_from scroll-method' -a 'edge' -d 'Scroll by swiping along the edge' complete -c riverctl -x -n '__fish_seen_subcommand_from input; and __fish_riverctl_complete_arg 4; and __fish_seen_subcommand_from scroll-method' -a 'button' -d 'Scroll with pointer movement while holding down a button' + +# Subcommands for 'hide-cursor' +complete -c riverctl -x -n '__fish_seen_subcommand_from hide-cursor; and __fish_riverctl_complete_arg 2' -a 'timeout' -d 'Hide cursor if it wasn\'t moved in the last X millisecond, until it is moved again' +complete -c riverctl -x -n '__fish_seen_subcommand_from hide-cursor; and __fish_riverctl_complete_arg 2' -a 'when-typing' -d 'Enable or disable whether the cursor should be hidden when pressing any non-modifier key' + +# Subcommands for the subcommands of ‘hide-cursor’ +complete -c riverctl -x -n '__fish_seen_subcommand_from hide-cursor; and __fish_riverctl_complete_arg 3; and __fish_seen_subcommand_from when-typing' -a 'enabled disabled' |
