dotfiles/config/sway/config: fix shortcuts

Recently Chromium has started disabling shortcuts for windows that
were launched with `--app`.

See: https://www.reddit.com/r/swaywm/comments/vlvpws/chromeium_app_flag_spawns_windows_with_shortcut/
This commit is contained in:
Alan Orth 2022-06-27 22:23:43 +03:00
parent 918f0958b1
commit a644fc60e2
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ for_window [title="Office 365 - Manual authentication"] floating enable
for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle visible
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
for_window [shell="xwayland"] title_format "%title [XWayland]"
# 2022-06-27 Chromium windows launched with --app disable shortcuts
# See: https://www.reddit.com/r/swaywm/comments/vlvpws/chromeium_app_flag_spawns_windows_with_shortcut/
for_window [app_id="^chrome-.*__-.*$"] shortcuts_inhibitor disable
### Output configuration
#