aboutsummaryrefslogtreecommitdiff
path: root/completions/fish
diff options
context:
space:
mode:
authorPeter Kaplan <peter@pkap.de>2022-04-20 15:38:18 +0200
committerIsaac Freund <mail@isaacfreund.com>2022-04-27 18:31:08 +0200
commit44aaee3a51b971817ccacd1c1dd4897f58dd25e7 (patch)
tree8fa20b4c674cf6c576c5bb296de2716424b1f15e /completions/fish
parent8f59075bc505910207bb803d3530c6daee36577c (diff)
downloadriver-44aaee3a51b971817ccacd1c1dd4897f58dd25e7.tar.gz
river-44aaee3a51b971817ccacd1c1dd4897f58dd25e7.tar.xz
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`.
Diffstat (limited to 'completions/fish')
-rw-r--r--completions/fish/riverctl.fish2
1 files changed, 1 insertions, 1 deletions
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'