How to disable shortcuts in fullscreen app?
Hello, how can I disable some or all shotcuts in fullscreen app? i.e.: games
Hello, how can I disable some or all shotcuts in fullscreen app? i.e.: games
You can use a mode
to achieve that:
mode "passthrough" {
bindsym Mod4+Escape mode "default"
}
bindsym Mod4+Escape mode "passthrough"
Pressing Mod4+Escape will enter the mode "passthrough" in which only Mod4+Escape will be available as binding to return to the "default" mode.
If you want to enter the mode automatically you could then use a short wrapper script, passthrough.sh
:
#!/bin/sh
i3-msg 'mode "passthrough"'
"$@"
i3-msg 'mode "default"'
Instead of game -option1 -option2
you then can use passthrough.sh game -option1 -option2
to start the game.
Asked: 2014-05-07 12:03:24 +0000
Seen: 283 times
Last updated: May 08 '14