aboutsummaryrefslogtreecommitdiff
path: root/completions/fish/riverctl.fish
diff options
context:
space:
mode:
authorshironeko <shironeko@tesaguri.club>2022-08-01 20:31:50 -0400
committerIsaac Freund <mail@isaacfreund.com>2022-12-01 14:23:02 +0100
commit8036ae2bd179d66f6317e5c7cbd388e88877d9f7 (patch)
tree1b616d29d08a108af94a4654c8374fed7cb23eb6 /completions/fish/riverctl.fish
parent3141940efb7a241cc4998e7f8263533823f75ef3 (diff)
downloadriver-8036ae2bd179d66f6317e5c7cbd388e88877d9f7.tar.gz
river-8036ae2bd179d66f6317e5c7cbd388e88877d9f7.tar.xz
Cursor: add on-focus-change option
Warp the cursor to the center of the focused view if the cursor is not in the bounding box of that view already. This helps the user to keep track of their cursor when they mostly use the keyboard and the cursor becomes hidden most of the time, also helps trackpad/trackpoint users.
Diffstat (limited to 'completions/fish/riverctl.fish')
-rw-r--r--completions/fish/riverctl.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index f24f32a..39ebc7d 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -79,7 +79,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 always'
-complete -c riverctl -x -n '__fish_seen_subcommand_from set-cursor-warp' -a 'disabled on-output-change'
+complete -c riverctl -x -n '__fish_seen_subcommand_from set-cursor-warp' -a 'disabled on-output-change on-focus-change'
# Subcommands for 'input'
complete -c riverctl -x -n '__fish_seen_subcommand_from input; and __fish_riverctl_complete_arg 2' -a "(__riverctl_list_input_devices)"