From 01f49bbbc14212c66405a504e3e9c4026ddbefe1 Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Tue, 30 Aug 2022 15:26:35 +0200 Subject: river: add keyboard groups --- completions/bash/riverctl | 3 +++ completions/fish/riverctl.fish | 4 ++++ completions/zsh/_riverctl | 4 ++++ 3 files changed, 11 insertions(+) (limited to 'completions') diff --git a/completions/bash/riverctl b/completions/bash/riverctl index 14a5bfb..c0b0bbd 100644 --- a/completions/bash/riverctl +++ b/completions/bash/riverctl @@ -3,6 +3,9 @@ function __riverctl_completion () if [ "${COMP_CWORD}" -eq 1 ] then OPTS=" \ + keyboard-group-create \ + keyboard-group-destroy \ + keyboard-group-add-keyboard \ csd-filter-add \ exit \ float-filter-add \ diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish index 443e986..4b81ef1 100644 --- a/completions/fish/riverctl.fish +++ b/completions/fish/riverctl.fish @@ -61,6 +61,10 @@ complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'hide-cursor' complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'set-repeat' -d 'Set the keyboard repeat rate and repeat delay' complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'set-cursor-warp' -d 'Set the cursor warp mode.' complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'xcursor-theme' -d 'Set the xcursor theme' +# Keyboardgroups +complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'keyboard-group-create' -d 'Create a keyboard group.' +complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'keyboard-group-destroy' -d 'Destroy a keyboard group.' +complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'keyboard-group-add-keyboard' -d 'Add a keyboard to a keyboard group.' # Subcommands complete -c riverctl -x -n '__fish_seen_subcommand_from focus-output' -a 'next previous' diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl index ed2662d..3250b50 100644 --- a/completions/zsh/_riverctl +++ b/completions/zsh/_riverctl @@ -55,6 +55,10 @@ _riverctl_subcommands() 'set-repeat:Set the keyboard repeat rate and repeat delay' 'set-cursor-warp:Set the cursor warp mode.' 'xcursor-theme:Set the xcursor theme' + # Keyboard groups + 'keyboard-group-create:Create a keyboard group' + 'keyboard-group-destroy:Destroy a keyboard group' + 'keyboard-group-add-keyboard:Add a keyboard to a keyboard group' # Input 'input:Configure input devices' 'list-inputs:List all input devices' -- cgit v1.2.3