diff --git a/.config/sway/config b/.config/sway/config index 528e58d..7ad5398 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -328,6 +328,7 @@ exec flatpak run com.discordapp.Discord # # Application rules: # +# Xwayland applications tend to use 'class=', whereas wayland applications use 'appid=' assign [app_id="firefox"] workspace 2:r #for_window [title="^Discord — Mozilla Firefox"] move container to workspace 3:s for_window [title="Firefox — Sharing Indicator"] floating enable, move position 50ppt 0px; @@ -338,5 +339,7 @@ for_window [class="discord"] inhibit_idle focus # Space Games, as joystick usage without mouse and keyboard count as idle. for_window [class="steam_app_359320"] inhibit_idle focus for_window [class="starcitizen.exe"] inhibit_idle focus +# Genshin impact floating enable +for_window [class="genshinimact.exe"] floating enable; include /etc/sway/config.d/*