36 lines
1.4 KiB
Text
36 lines
1.4 KiB
Text
|
|
include $HOME/.config/sway/config.d/window_rules.d/*
|
|
|
|
for_window [shell="xwayland"] title_format "[X] %title"
|
|
|
|
# Discord/Armcord opens in scratchpad
|
|
for_window [app_id="armcord"] move scratchpad, floating enable, scratchpad hide
|
|
# for_window [class="ArmCord"] move scratchpad, floating enable, scratchpad hide
|
|
# for_window [class="Discord"] move scratchpad, floating enable, scratchpad hide
|
|
# for_window [title="Discord"] move scratchpad, floating enable, scratchpad hide
|
|
|
|
# Floating PiP
|
|
for_window [title="^Picture-in-Picture$"] floating enable, sticky enable
|
|
|
|
# Thunderbird assigned to workspace 9
|
|
# assign [title="Mozilla Thunderbird$"] workspace "9:"
|
|
|
|
# Sonixd assigned to workspace 10
|
|
# assign [title="^Sonixd$"] workspace "10:"
|
|
|
|
# Floating Copyq
|
|
for_window [app_id="com.github.hluk.copyq"] floating enable, sticky enable
|
|
|
|
# Floating KeePass
|
|
for_window [app_id="org.keepassxc.KeePassXC"] floating enable, sticky enable
|
|
|
|
# Dolphin popups
|
|
# for_window [title="(?i)(?:copying|deleting|moving|question|save file)"] floating enable, border pixel 2
|
|
for_window [window_role="pop-up"] floating enable
|
|
for_window [window_role="bubble"] floating enable
|
|
for_window [window_role="dialog"] floating enable
|
|
for_window [window_type="dialog"] floating enable
|
|
for_window [title="^(?:Copying|Deleting|Moving).*Dolphin$"] floating enable
|
|
|
|
# Ryujinx popup
|
|
for_window [title="^ContentDialogOverlayWindow$"] floating enable
|