aboutsummaryrefslogtreecommitdiff
path: root/completions/fish
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/fish
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/fish')
-rw-r--r--completions/fish/riverctl.fish7
1 files changed, 4 insertions, 3 deletions
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index 4b81ef1..aabf99c 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -62,9 +62,10 @@ complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'set-repeat'
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.'
+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' -d 'Add a keyboard to a keyboard group.'
+complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'keyboard-group-remove' -d 'Remove a keyboard from a keyboard group.'
# Subcommands
complete -c riverctl -x -n '__fish_seen_subcommand_from focus-output' -a 'next previous'