# vim: ft=swayconfig
# Scratchpad Windows
for_window [app_id="uy.com.mzunino"] floating enable, move scratchpad
for_window [instance="claude.ai"] floating enable, move scratchpad

# Floating Windows
for_window [app_id="Evolution-alarm-notify"] floating enable
for_window [title="JetBrains Toolbox"] floating enable
for_window [title="Espanso Sync Tool"] floating enable, move to workspace 10
for_window [app_id="yad"] floating enable
for_window [class="Pinentry-gtk"] floating enable
for_window [app_id="com.github.hluk.copyq"] floating enable
for_window [app_id="authenticator"] floating enable
for_window [title="File Operation Progress"] floating enable
for_window [title="Do Not Panic"] floating enable
for_window [title="Unlock Keyring"] floating enable
for_window [title="Confirm to replace files"] floating enable
for_window [title="Extension: (Bitwarden Password Manager) - Bitwarden — Mozilla Firefox"] floating enable
for_window [title="Bitwarden - Vivaldi"] floating enable
for_window [title="win0"] floating enable border none
for_window [app_id="org.pulseaudio.pavucontrol"] floating enable, resize set 700 800
for_window [app_id="pdf_float"] floating enable, resize set width 1366 px height 900 px
# for_window [class="XTerm"] floating enable, move position center
for_window [class="XTerm"] floating enable, resize set width 80ppt height 70ppt, move position center

# Floating with Specific Sizing
for_window [app_id="com.github.hluk.copyq"] resize set 1366 768
for_window [app_id="authenticator"] resize set 400 800

# Email Client Rules
for_window [title="Write: .*" app_id="eu.betterbird.Betterbird"] floating enable
for_window [app_id="eu.betterbird.Betterbird"] floating disable

# Border Rules
for_window [class=".*"] border pixel 0

# Workspace Specific Rules
for_window [app_id="sm"] move to workspace 4, workspace --no-auto-back-and-forth 4
for_window [app_id="Spotify"] move to workspace 5, workspace --no-auto-back-and-forth 5
