git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit0ec8a43506f2e81da88b9ad62140a20abb0e9098
parent9c4f334321
authorFelix Bowman <[email protected]>
date2024-07-12 09:10
completions: zsh click-method option fix

"button-areas" seems to be the argument this command expects instead of
"button-area" -- other shells also have the option as "button-areas".

 completions/zsh/_riverctl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index ade30e5..73df6b1 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -135,7 +135,7 @@ _riverctl()
                             case "$line[2]" in
                                 events) _alternative 'input-cmds:args:(enabled disabled disabled-on-external-mouse)' ;;
                                 accel-profile) _alternative 'input-cmds:args:(none flat adaptive)' ;;
-                                click-method) _alternative 'input-cmds:args:(none button-area clickfinger)' ;;
+                                click-method) _alternative 'input-cmds:args:(none button-areas clickfinger)' ;;
                                 drag) _alternative 'input-cmds:args:(enabled disabled)' ;;
                                 drag-lock) _alternative 'input-cmds:args:(enabled disabled)' ;;
                                 disable-while-typing) _alternative 'input-cmds:args:(enabled disabled)' ;;