.dotfiles/sway/behaviours

35 lines
1.6 KiB
Bash

# vim: ft=sh
################################################################################
# Default workspaces
################################################################################
#assign [class="Xchat"] 1-chat Replaced by irssi which will open on the first workspace at startup
assign [class="XTerm"] 1
assign [class="UXTerm"] grave
assign [class="thunderbird"] 2
assign [class="Chromium"] 3
assign [class="Linphone"] 5
assign [class="firefox-aurora"] 7
# Don't use VNC viewer anymore. I've defaulted to running virt-manager on this workspace because it's similar
#assign [class="Vncviewer"] 9
################################################################################
# Floating windows
################################################################################
for_window [shell="xdg_shell"] floating enable # Picture-in-picture firefox
# Also make Picture-in-picture windows stick to active workspace
for_window [shell="xdg_shell"] sticky enable # Picture-in-picture firefox
for_window [instance="Download"] floating enable
for_window [window_role="plugin_ui"] floating enable
for_window [title="Menu Update"] floating enable
for_window [title="___"] floating enable
for_window [class="UXTerm"] floating enable, resize set height 600px, resize set width 800px, move position 1120px 460px
for_window [class="Tlpui"] floating enable
for_window [title="XTerm"] floating enable
for_window [class="Gvim"] floating enable
for_window [class="Orage"] floating enable
for_window [class="Claws-mail"] layout stacking
for_window [class="Vncviewer"] fullscreen enable