# vim: ft=swayconfig

### GENERAL ###

# Window focus doesn't follow mouse
focus_follows_mouse no

# Mouse doesn't move to workspace on workspace change
mouse_warping none

# Automatic back-and-forth when switching to the current workspace
workspace_auto_back_and_forth yes

# Workspace 10 always on second monitor (I use this for Spotify, feel free to change)
workspace 10 output "DP-2"


### APPLICATION SPECIFIC ###

# Config for application launcher
for_window [app_id="^launcher$"] floating enable, resize set 30 ppt 60 ppt, border pixel 4

# Floating window for KeePassXC-Browser popup
for_window [title="^Unlock Database - KeePassXC$"] floating enable, resize set 40 ppt 55 ppt,

# Nextcloud main status window (when clicking on tray icon)
for_window [title="^Nextcloud$"] floating enable, border none,

# NoScript pop-ups in Tor Browser
for_window [title="about:blank - - Tor Browser"] floating enable,

# About Tor Browser window
for_window [title="^About Tor Browser$"] floating enable,

# Browser screenshare dialog
for_window [title="is sharing your screen."] border none,

# ProtonMail Bridge
for_window [app_id="proton-bridge"] border none,
