aboutsummaryrefslogtreecommitdiff
path: root/completions/zsh
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2022-09-17 11:26:45 +0200
committerIsaac Freund <mail@isaacfreund.com>2022-09-18 15:53:45 +0200
commite35c147cd5b8fcd363b7ecc495292733b25d96f5 (patch)
tree69f2746f7d334a0dfc5b66a2c39ff4ccac95b3f2 /completions/zsh
parent01f49bbbc14212c66405a504e3e9c4026ddbefe1 (diff)
downloadriver-e35c147cd5b8fcd363b7ecc495292733b25d96f5.tar.gz
river-e35c147cd5b8fcd363b7ecc495292733b25d96f5.tar.xz
river: refactor keyboard groups implementation
This reduces the impact of keyboard groups on the Keyboard.zig implementation and otherwise improves consistency with patterns used elsewhere in rivers code. There are also two small changes to the riverctl interface: - keyboard-group-add-keyboard is renamed to keyboard-group-add - keyboard-group-remove is added to support removing keyboards from a group.
Diffstat (limited to 'completions/zsh')
-rw-r--r--completions/zsh/_riverctl3
1 files changed, 2 insertions, 1 deletions
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index 3250b50..f5cd125 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -58,7 +58,8 @@ _riverctl_subcommands()
# 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'
+ 'keyboard-group-add:Add a keyboard to a keyboard group'
+ 'keyboard-group-remove:Remove a keyboard from a keyboard group'
# Input
'input:Configure input devices'
'list-inputs:List all input devices'