Added window rules for An Anime Game.

This commit is contained in:
Sheldon Lee 2022-06-19 13:08:25 +08:00
parent 4feed1672f
commit dfebaf0cd5

View File

@ -328,6 +328,7 @@ exec flatpak run com.discordapp.Discord
# #
# Application rules: # Application rules:
# #
# Xwayland applications tend to use 'class=<class>', whereas wayland applications use 'appid=<appid>'
assign [app_id="firefox"] workspace 2:r assign [app_id="firefox"] workspace 2:r
#for_window [title="^Discord — Mozilla Firefox"] move container to workspace 3:s #for_window [title="^Discord — Mozilla Firefox"] move container to workspace 3:s
for_window [title="Firefox — Sharing Indicator"] floating enable, move position 50ppt 0px; 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. # Space Games, as joystick usage without mouse and keyboard count as idle.
for_window [class="steam_app_359320"] inhibit_idle focus for_window [class="steam_app_359320"] inhibit_idle focus
for_window [class="starcitizen.exe"] 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/* include /etc/sway/config.d/*