From cacc98616657305f8c9c499f232fb7bd226e0de0 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 13 Sep 2022 12:05:21 +1000 Subject: map-pointer: allow running arbitrary commands --- completions/fish/riverctl.fish | 2 +- completions/zsh/_riverctl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'completions') 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' -- cgit v1.2.3