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`.
This commit is contained in:
committed by
Isaac Freund
parent
8f59075bc5
commit
44aaee3a51
@ -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)' ;;
|
||||
|
Reference in New Issue
Block a user