Update window rules

This commit is contained in:
Salt 2024-06-07 00:24:38 -05:00
parent 58f2f6ad45
commit a9568985fb

View File

@ -3,16 +3,36 @@
# This file allocates rules for organizing windows
#
# General rules of thought:
# * The primary monitor will contain workspaces 1-7
# * Secondary monitors will get workspaces 8-10
# * Important apps go on primary, unimportant ones that are likely to be side-
# content, event-driven, and distractive can go on the secondary
# * Laptops get all 10 on one monitor, but shunting unimportant junk to the
# back workspaces yields a better workflow regardless
# * No rules are set in stone and the user can totally just move stuff around
# with reckless abandon
for_window {
# Workspace 1 should always be the web browser
[app_id="org.mozilla.firefox"] move container to workspace $w1
[app_id="org.mozilla.Thunderbird"] move container to workspace $w7
# Workspace 2 should contain Steam, if we intend to launch a game this session
[app_id="com.valvesoftware.Steam"] move container to workspace $w2
# Workspace 8 contains Thunderbird and Keepass
[app_id="org.keepassxc.KeePassXC"] move container to workspace $w8
[app_id="com.discordapp.Discord"] move container to workspace $w9
[app_id="com.discordapp.Discord"] inhibit_idle visible
[app_id="org.mozilla.Thunderbird"] move container to workspace $w8
# Workspace 9 should be communications platforms
[app_id="com.dev.vencord.Vesktop"] move container to workspace $w9
[app_id="com.dev.vencord.Vesktop"] inhibit_idle visible
[class="Element"] move container to workspace $w9
[class="Element"] inhibit_idle visible
[app_id="com.discordapp.Discord"] move container to workspace $w9
[app_id="com.discordapp.Discord"] inhibit_idle visible
[app_id="im.riot.Riot"] move container to workspace $w9
[app_id="im.riot.Riot"] inhibit_idle visible
# And Workspace 10 should contain misc. long-running programs
[class="Spotify"] move container to workspace $w10
}