river: Add passhthrough mode to disable river keys
`super+F11` enters passthrough mode (displayed on waybar) which disables all normal keybinds that river listens to and - surprise - passes them through to whatever application is running. The same binding exits the mode.
This commit is contained in:
parent
290ddbf5a8
commit
1cc47ac7df
1 changed files with 7 additions and 0 deletions
|
@ -161,6 +161,13 @@ riverctl map interact_float None J send-layout-cmd $layout "main-count +1"
|
||||||
riverctl map interact_float None K send-layout-cmd $layout "main-count -1"
|
riverctl map interact_float None K send-layout-cmd $layout "main-count -1"
|
||||||
### End resize and moving mode
|
### End resize and moving mode
|
||||||
|
|
||||||
|
## Passthrough mode which disables all other mappings and only retains the single
|
||||||
|
# mapping to return to normal mode. Useful for some full screen applications
|
||||||
|
# which should capture everything, or for testing nested wayland compositors.
|
||||||
|
riverctl declare-mode passthrough
|
||||||
|
riverctl map normal $mod F11 enter-mode passthrough
|
||||||
|
riverctl map passthrough $mod F11 enter-mode normal
|
||||||
|
|
||||||
# focus the next/previous output
|
# focus the next/previous output
|
||||||
riverctl map normal $mod Period focus-output next
|
riverctl map normal $mod Period focus-output next
|
||||||
riverctl map normal $mod Comma focus-output previous
|
riverctl map normal $mod Comma focus-output previous
|
||||||
|
|
Loading…
Reference in a new issue