aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2022-06-03 11:09:18 +0200
committerIsaac Freund <mail@isaacfreund.com>2022-06-03 12:03:08 +0200
commit50c9e3d81bcd0f5d7aba9f136aece36960ed197e (patch)
tree0585f720f004622d8881c612d5014a12b554717c /completions
parent2df2151afab926999c8ccca26c5870641eab0d69 (diff)
downloadriver-50c9e3d81bcd0f5d7aba9f136aece36960ed197e.tar.gz
river-50c9e3d81bcd0f5d7aba9f136aece36960ed197e.tar.xz
Cursor: revive 'always' focus-follows-cursor mode
This was removed a while back because it was buggy and I didn't know of anyone using it. Since refactoring it is now trivial to implement and I know of at least one person using it, so I don't mind reviving it.
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/riverctl2
-rw-r--r--completions/fish/riverctl.fish2
-rw-r--r--completions/zsh/_riverctl2
3 files changed, 3 insertions, 3 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index 881946f..14a5bfb 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -59,7 +59,7 @@ function __riverctl_completion ()
"map") OPTS="-release -repeat -layout" ;;
"unmap") OPTS="-release" ;;
"attach-mode") OPTS="top bottom" ;;
- "focus-follows-cursor") OPTS="disabled normal" ;;
+ "focus-follows-cursor") OPTS="disabled normal always" ;;
"set-cursor-warp") OPTS="disabled on-output-change" ;;
"hide-cursor") OPTS="timeout when-typing" ;;
*) return ;;
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index 7a09063..443e986 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -73,7 +73,7 @@ complete -c riverctl -x -n '__fish_seen_subcommand_from swap' -a
complete -c riverctl -x -n '__fish_seen_subcommand_from map' -a '-release -repeat -layout'
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'
+complete -c riverctl -x -n '__fish_seen_subcommand_from focus-follows-cursor' -a 'disabled normal always'
complete -c riverctl -x -n '__fish_seen_subcommand_from set-cursor-warp' -a 'disabled on-output-change'
# Subcommands for 'input'
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index 8fec8fe..ed2662d 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -172,7 +172,7 @@ _riverctl()
map) _alternative 'arguments:optional:(-release -repeat -layout)' ;;
unmap) _alternative 'arguments:optional:(-release)' ;;
attach-mode) _alternative 'arguments:args:(top bottom)' ;;
- focus-follows-cursor) _alternative 'arguments:args:(disabled normal)' ;;
+ focus-follows-cursor) _alternative 'arguments:args:(disabled normal always)' ;;
set-cursor-warp) _alternative 'arguments:args:(disabled on-output-change)' ;;
hide-cursor) _riverctl_hide_cursor ;;
*) return 0 ;;