From 44aaee3a51b971817ccacd1c1dd4897f58dd25e7 Mon Sep 17 00:00:00 2001 From: Peter Kaplan Date: Wed, 20 Apr 2022 15:38:18 +0200 Subject: command/map: layout-pinned mappings e.g. `riverctl map -layout 0 normal Super Y spawn foot` When this mapping is checked against a pressed key, layout 0 will be used to translate the pressed key instead of the currently active layout. The number denotes to an index of the layouts set with `XKB_DEFAULT_LAYOUT`. --- completions/fish/riverctl.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'completions/fish') diff --git a/completions/fish/riverctl.fish b/completions/fish/riverctl.fish index 8b92cb6..7a09063 100644 --- a/completions/fish/riverctl.fish +++ b/completions/fish/riverctl.fish @@ -70,7 +70,7 @@ complete -c riverctl -x -n '__fish_seen_subcommand_from resize' -a complete -c riverctl -x -n '__fish_seen_subcommand_from snap' -a 'up down left right' complete -c riverctl -x -n '__fish_seen_subcommand_from send-to-output' -a 'next previous' complete -c riverctl -x -n '__fish_seen_subcommand_from swap' -a 'next previous' -complete -c riverctl -x -n '__fish_seen_subcommand_from map' -a '-release -repeat' +complete -c riverctl -x -n '__fish_seen_subcommand_from map' -a '-release -repeat -layout' complete -c riverctl -x -n '__fish_seen_subcommand_from unmap' -a '-release' complete -c riverctl -x -n '__fish_seen_subcommand_from attach-mode' -a 'top bottom' complete -c riverctl -x -n '__fish_seen_subcommand_from focus-follows-cursor' -a 'disabled normal' -- cgit v1.2.3