2024-04-17 01:27:21 -05:00
|
|
|
# vim: set ft=swayconfig:
|
|
|
|
#
|
|
|
|
# This file allocates rules for organizing windows
|
|
|
|
#
|
|
|
|
|
2024-06-07 00:24:38 -05:00
|
|
|
# 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
|
2024-04-17 01:27:21 -05:00
|
|
|
for_window {
|
2024-06-07 00:24:38 -05:00
|
|
|
# Workspace 1 should always be the web browser
|
2024-04-17 01:27:21 -05:00
|
|
|
[app_id="org.mozilla.firefox"] move container to workspace $w1
|
2024-06-07 00:24:38 -05:00
|
|
|
|
|
|
|
# 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
|
2024-04-17 01:27:21 -05:00
|
|
|
[app_id="org.keepassxc.KeePassXC"] move container to workspace $w8
|
2024-06-07 00:24:38 -05:00
|
|
|
[app_id="org.mozilla.Thunderbird"] move container to workspace $w8
|
|
|
|
|
|
|
|
# Workspace 9 should be communications platforms
|
2024-05-15 10:26:15 -05:00
|
|
|
[app_id="com.dev.vencord.Vesktop"] move container to workspace $w9
|
|
|
|
[app_id="com.dev.vencord.Vesktop"] inhibit_idle visible
|
2024-06-07 00:24:38 -05:00
|
|
|
[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
|
2024-04-17 01:27:21 -05:00
|
|
|
[class="Spotify"] move container to workspace $w10
|
|
|
|
}
|
|
|
|
|