completions: add keyboard-layout

This commit is contained in:
Leon Henrik Plickat 2023-01-06 16:36:00 +01:00 committed by GitHub
parent 088622ec50
commit 701d16c2ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ function __riverctl_completion ()
keyboard-group-destroy \
keyboard-group-add \
keyboard-group-remove \
keyboard-layout \
csd-filter-add \
exit \
float-filter-add \

View File

@ -66,6 +66,7 @@ complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'keyboard-group-c
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.'
complete -c riverctl -x -n '__fish_riverctl_complete_arg 1' -a 'keyboard-layout' -d 'Set the keyboard layout.'
# Subcommands
complete -c riverctl -x -n '__fish_seen_subcommand_from focus-output' -a 'next previous'

View File

@ -60,6 +60,7 @@ _riverctl_subcommands()
'keyboard-group-destroy:Destroy a keyboard group'
'keyboard-group-add:Add a keyboard to a keyboard group'
'keyboard-group-remove:Remove a keyboard from a keyboard group'
'keyboard-layout:Set the keyboard layout'
# Input
'input:Configure input devices'
'list-inputs:List all input devices'