git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit7a36bbae4494bd2979678a28855b2dde83112b86
parentf714e735e6
authorLeon Henrik Plickat <[email protected]>
date2023-01-06 16:36
completions: add keyboard-layout

 completions/bash/riverctl      | 1 +
 completions/fish/riverctl.fish | 1 +
 completions/zsh/_riverctl      | 1 +
 3 files changed, 3 insertions(+)

diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index 03ed4f4..f50ac3b 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -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 \
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index 39ebc7d..35db6e8 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -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'
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index 8ed1fe5..90e39d2 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -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'