aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2022-08-30 15:26:35 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2022-09-12 04:12:21 +0200
commit01f49bbbc14212c66405a504e3e9c4026ddbefe1 (patch)
treead149fc5d7b2971ec92558481fd3447a49b1678d /completions
parentc0e64829f0517f6512438cbf80ae27bd21986b47 (diff)
downloadriver-01f49bbbc14212c66405a504e3e9c4026ddbefe1.tar.gz
river-01f49bbbc14212c66405a504e3e9c4026ddbefe1.tar.xz
river: add keyboard groups
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/riverctl3
-rw-r--r--completions/fish/riverctl.fish4
-rw-r--r--completions/zsh/_riverctl4
3 files changed, 11 insertions, 0 deletions
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'