From a644fc60e27c422c6e4d914ee81938959eb7c5c0 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 27 Jun 2022 22:23:43 +0300 Subject: [PATCH] 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/ --- dotfiles/config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/config/sway/config b/dotfiles/config/sway/config index 7e8e2e3..49cd7fe 100644 --- a/dotfiles/config/sway/config +++ b/dotfiles/config/sway/config @@ -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 #