-
I'm trying to do this
and it doesn't work. While doing this
works. Since in the related documentation also there's no example including |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
In your case, if I understand the intention correctly, try:
|
Beta Was this translation helpful? Give feedback.
-
It's the basic for defining contextual keybindings. Contextual keybindings act only within their context (that is, when their associated window is focused, for example.) Otherwise, triggering them is no-op. This should make it possible to define the exact same keybinding for different contexts. Think of what pressing This is certainly not a new way of thinking about keybindings. For example:
|
Beta Was this translation helpful? Give feedback.
Right, the i3-specific way to do that is:
This will execute only the first command on firefox and only the second on gnome terminal.