aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorAlexander Courtis <alex@courtis.org>2022-09-13 12:05:21 +1000
committerIsaac Freund <mail@isaacfreund.com>2022-11-25 14:05:36 +0100
commitcacc98616657305f8c9c499f232fb7bd226e0de0 (patch)
tree4e87fa6840b0086222bcd9f82950e2e3dfb8a8f5 /completions
parente2a27b3a4eaea4dc302dabd9e111bdc6e42489d9 (diff)
downloadriver-cacc98616657305f8c9c499f232fb7bd226e0de0.tar.gz
river-cacc98616657305f8c9c499f232fb7bd226e0de0.tar.xz
map-pointer: allow running arbitrary commands
Diffstat (limited to 'completions')
-rw-r--r--completions/fish/riverctl.fish2
-rw-r--r--completions/zsh/_riverctl2
2 files changed, 2 insertions, 2 deletions
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index aabf99c..f24f32a 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -44,7 +44,7 @@ complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'send-to-previous
complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'declare-mode' -d 'Create a new mode'
complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'enter-mode' -d 'Switch to given mode if it exists'
complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'map' -d 'Run command when key is pressed while modifiers are held down and in the specified mode'
-complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'map-pointer' -d 'Move or resize views when button and modifers are held down while in the specified mode'
+complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'map-pointer' -d 'Move or resize views or run command when button and modifers are held down while in the specified mode'
complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'map-switch ' -d 'Run command when river receives a switch event in the specified mode'
complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'unmap' -d 'Remove the mapping defined by the arguments'
complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'unmap-pointer' -d 'Remove the pointer mapping defined by the arguments'
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index f5cd125..f303e5e 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -38,7 +38,7 @@ _riverctl_subcommands()
'declare-mode:Create a new mode'
'enter-mode:Switch to given mode if it exists'
'map:Run command when key is pressed while modifiers are held down and in the specified mode'
- 'map-pointer:Move or resize views when button and modifiers are held down while in the specified mode'
+ 'map-pointer:Move or resize views or run command when button and modifiers are held down while in the specified mode'
'map-switch:Run command when river receives a switch event in the specified mode'
'unmap:Remove the mapping defined by the arguments'
'unmap-pointer:Remove the pointer mapping defined by the arguments'