sway-config/conf.d/window_rules.conf

16 lines
783 B
Text

# specify window display rules
for_window [class=".*"] title_window_icon on
for_window [class=".*"] title_window_icon padding 1px
for_window [urgent="latest" app_id="firefox" workspace=$ws1] focus ; workspace number $ws1
for_window [class="Slack"] workspace number $ws2
for_window [class="teams-for-linux"] workspace number $ws2
for_window [class="kitty"] workspace number $ws3
for_window [class="jetbrains-pycharm"] workspace number $ws4
for_window [class="spotify"] workspace number $ws5
for_window [class="logseq"] workspace number $ws6
for_window [class="thunderbird"] workspace number $ws6
for_window [class="Joplin"] workspace number $ws6
for_window [urgent=latest] focus
for_window [app_id="firefox"] border pixel 0
for_window [app_id="org.gnome.Calculator"] floating enable