From 927dceb071f4d068ea271a3d97c3ece9db0da3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Donk=C3=B3?= Date: Sat, 12 Aug 2023 21:30:55 +0200 Subject: keyboard: add the ability to load layout from file --- completions/bash/riverctl | 1 + completions/fish/riverctl.fish | 1 + completions/zsh/_riverctl | 1 + 3 files changed, 3 insertions(+) (limited to 'completions') 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' -- cgit v1.2.3