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.
This commit is contained in:
Isaac Freund
2022-09-17 11:26:45 +02:00
parent 01f49bbbc1
commit e35c147cd5
10 changed files with 179 additions and 172 deletions

View File

@ -5,7 +5,8 @@ function __riverctl_completion ()
OPTS=" \
keyboard-group-create \
keyboard-group-destroy \
keyboard-group-add-keyboard \
keyboard-group-add \
keyboard-group-remove \
csd-filter-add \
exit \
float-filter-add \