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/bash/riverctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'completions/bash/riverctl') diff --git a/completions/bash/riverctl b/completions/bash/riverctl index b39cf26..881946f 100644 --- a/completions/bash/riverctl +++ b/completions/bash/riverctl @@ -56,7 +56,7 @@ function __riverctl_completion () "focus-output"|"focus-view"|"send-to-output"|"swap") OPTS="next previous" ;; "move"|"snap") OPTS="up down left right" ;; "resize") OPTS="horizontal vertical" ;; - "map") OPTS="-release -repeat" ;; + "map") OPTS="-release -repeat -layout" ;; "unmap") OPTS="-release" ;; "attach-mode") OPTS="top bottom" ;; "focus-follows-cursor") OPTS="disabled normal" ;; -- cgit v1.2.3