Allow some applications to inhibit shortcuts
Virtualization and remote desktop applications should be able to inhibit keyboard shortcuts.
This commit is contained in:
parent
b4cef4847a
commit
34e6157757
1 changed files with 9 additions and 0 deletions
|
@ -64,3 +64,12 @@ for_window [con_mark="Browser"] {
|
|||
# keyboard. Chrome currently abuses this by enabling it for all "--app=..."
|
||||
# shortcuts.
|
||||
seat * shortcuts_inhibitor disable
|
||||
|
||||
# mark applications for which shortcuts inhibition is allowed
|
||||
for_window [class="[Vv]irt-"] mark Grabbing
|
||||
for_window [class="[Rr]eminna"] mark Grabbing
|
||||
for_window [app_id="[Vv]irt-"] mark Grabbing
|
||||
for_window [app_id="[Rr]emmina"] mark Grabbing
|
||||
|
||||
# inhibit keyboard shortcuts for marked applications
|
||||
for_window [con_mark="Grabbing"] shortcuts_inhibitor enable
|
||||
|
|
Loading…
Add table
Reference in a new issue