dotfiles/sway/.config/sway/config.d/02_behavior

40 lines
1.1 KiB
Plaintext
Raw Normal View History

# vi: ft=swayconfig
2021-10-02 20:59:11 +00:00
### GENERAL ###
2021-10-02 20:59:11 +00:00
# Window focus doesn't follow mouse
focus_follows_mouse no
# Mouse doesn't move to workspace on workspace change
mouse_warping none
2021-11-19 16:08:03 +00:00
# Automatic back-and-forth when switching to the current workspace
workspace_auto_back_and_forth yes
2021-10-02 20:59:11 +00:00
# Workspace 10 always on second monitor (I use this for Spotify, feel free to change)
workspace 10 output "DP-2"
2021-10-02 20:59:11 +00:00
### APPLICATION SPECIFIC ###
# Browser screenshare dialog
for_window [title="is sharing your screen.$"] border none,
# Config for application launcher
for_window [app_id="^launcher$"] floating enable, resize set 25 ppt 55 ppt, border pixel 4
2021-10-02 20:59:11 +00:00
# KeePassXC-Browser popup
2021-10-02 20:59:11 +00:00
for_window [title="^Unlock Database - KeePassXC$"] floating enable, resize set 40 ppt 55 ppt,
# Nextcloud main status window
2021-10-02 20:59:11 +00:00
for_window [title="^Nextcloud$"] floating enable, border none,
# Tor Browser about window
2021-10-02 20:59:11 +00:00
for_window [title="^About Tor Browser$"] floating enable,
# Tor Browser NoScript windows (doesn't always work)
for_window [title="about:blank.*Tor Browser"] floating enable,
2021-11-04 17:22:08 +00:00
# Yubico Authenticator
for_window [app_id="^yubico.com.yubioath-desktop$"] floating enable, resize set 15 ppt 55 ppt,