diff options
| author | Peter Kaplan <peter@pkap.de> | 2022-04-20 15:38:18 +0200 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2022-04-27 18:31:08 +0200 |
| commit | 44aaee3a51b971817ccacd1c1dd4897f58dd25e7 (patch) | |
| tree | 8fa20b4c674cf6c576c5bb296de2716424b1f15e /completions/zsh/_riverctl | |
| parent | 8f59075bc505910207bb803d3530c6daee36577c (diff) | |
| download | river-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/zsh/_riverctl')
| -rw-r--r-- | completions/zsh/_riverctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/zsh/_riverctl b/completions/zsh/_riverctl index f1c3d6d..8fec8fe 100644 --- a/completions/zsh/_riverctl +++ b/completions/zsh/_riverctl @@ -169,7 +169,7 @@ _riverctl() snap) _alternative 'arguments:args:(up down left right)' ;; send-to-output) _alternative 'arguments:args:(next previous)' ;; swap) _alternative 'arguments:args:(next previous)' ;; - map) _alternative 'arguments:optional:(-release -repeat)' ;; + map) _alternative 'arguments:optional:(-release -repeat -layout)' ;; unmap) _alternative 'arguments:optional:(-release)' ;; attach-mode) _alternative 'arguments:args:(top bottom)' ;; focus-follows-cursor) _alternative 'arguments:args:(disabled normal)' ;; |
