aboutsummaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorIstván Donkó <istvan.donko@gmail.com>2023-08-12 21:30:55 +0200
committerIsaac Freund <mail@isaacfreund.com>2023-11-09 13:23:07 +0100
commit927dceb071f4d068ea271a3d97c3ece9db0da3b4 (patch)
tree9104f07c167fed4fbe6d8e1db81af28dac045470 /completions
parent04dea1edee9545dd3bb936cb1b51f1ebab4a5e54 (diff)
downloadriver-927dceb071f4d068ea271a3d97c3ece9db0da3b4.tar.gz
river-927dceb071f4d068ea271a3d97c3ece9db0da3b4.tar.xz
keyboard: add the ability to load layout from file
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/riverctl1
-rw-r--r--completions/fish/riverctl.fish1
-rw-r--r--completions/zsh/_riverctl1
3 files changed, 3 insertions, 0 deletions
diff --git a/completions/bash/riverctl b/completions/bash/riverctl
index c756321..ccee6a0 100644
--- a/completions/bash/riverctl
+++ b/completions/bash/riverctl
@@ -9,6 +9,7 @@ function __riverctl_completion ()
keyboard-group-add \
keyboard-group-remove \
keyboard-layout \
+ keyboard-layout-file \
exit \
focus-output \
focus-view \
diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish
index 9b321f3..7accc4d 100644
--- a/completions/fish/riverctl.fish
+++ b/completions/fish/riverctl.fish
@@ -77,6 +77,7 @@ complete -c riverctl -n '__fish_riverctl_complete_arg 1' -a 'keyboard-group-dest
complete -c riverctl -n '__fish_riverctl_complete_arg 1' -a 'keyboard-group-add' -d 'Add a keyboard to a keyboard group'
complete -c riverctl -n '__fish_riverctl_complete_arg 1' -a 'keyboard-group-remove' -d 'Remove a keyboard from a keyboard group'
complete -c riverctl -n '__fish_riverctl_complete_arg 1' -a 'keyboard-layout' -d 'Set the keyboard layout'
+complete -c riverctl -n '__fish_riverctl_complete_arg 1' -a 'keyboard-layout-file' -d 'Set the keyboard layout from a file.'
# Subcommands
complete -c riverctl -n '__fish_seen_subcommand_from focus-output send-to-output' -n '__fish_riverctl_complete_arg 2' -a 'next previous'
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl
index 6467fbc..0c90bf9 100644
--- a/completions/zsh/_riverctl
+++ b/completions/zsh/_riverctl
@@ -67,6 +67,7 @@ _riverctl_commands()
'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'
+ 'keyboard-layout-file:Set the keyboard layout from a file'
# Input
'input:Configure input devices'
'list-inputs:List all input devices'