2022-04-19 04:45:01 +00:00
|
|
|
# vim: ft=sh
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Default workspaces
|
|
|
|
################################################################################
|
|
|
|
|
2023-01-17 17:52:54 +00:00
|
|
|
# ` - Grave
|
2023-04-10 01:24:23 +00:00
|
|
|
assign [app_id="Alacritty-grave"] grave
|
2023-01-17 17:52:54 +00:00
|
|
|
# 0 - HUD
|
2023-04-10 01:24:23 +00:00
|
|
|
assign [app_id="chrome-papillon.john.me.tz__-Default"] 0
|
2023-01-17 17:52:54 +00:00
|
|
|
# 1 - Chat
|
2022-05-27 21:08:34 +00:00
|
|
|
assign [class="Mattermost"] 1
|
2024-07-23 03:04:27 +00:00
|
|
|
for_window [class="Mattermost"] layout tabbed
|
|
|
|
assign [app_id="com.mattermost.Desktop"] 1
|
|
|
|
for_window [app_id="Mattermost"] layout tabbed
|
2022-08-23 16:44:58 +00:00
|
|
|
assign [class="Rocket.Chat"] 1
|
2024-07-23 03:04:27 +00:00
|
|
|
for_window [class="Rocket.Chat"] layout tabbed
|
2023-01-17 17:52:54 +00:00
|
|
|
assign [app_id="Rocket.Chat"] 1
|
2024-07-23 03:04:27 +00:00
|
|
|
for_window [app_id="Rocket.Chat"] layout tabbed
|
|
|
|
assign [class="Session"] 1
|
|
|
|
for_window [class="Session"] layout tabbed
|
|
|
|
assign [app_id="Session"] 1
|
|
|
|
for_window [app_id="Session"] layout tabbed
|
2023-11-18 01:36:06 +00:00
|
|
|
# 2 - Mail - Thunderbird seems to change the way it identifies with every update!
|
2022-09-17 19:05:37 +00:00
|
|
|
assign [class="Thunderbird"] 2
|
2024-07-23 03:04:27 +00:00
|
|
|
assign [app_id="org.mozilla.Thunderbird"] 2
|
2023-01-17 17:52:54 +00:00
|
|
|
# 3 - Secondary Browser
|
2024-07-23 03:04:27 +00:00
|
|
|
assign [app_id="io.github.ungoogled_software.ungoogled_chromium"] 4
|
2023-01-17 17:52:54 +00:00
|
|
|
# 4 - Git
|
2023-06-28 00:29:51 +00:00
|
|
|
assign [app_id="com.github.gittyup.gittyup"] 4
|
2023-01-17 17:52:54 +00:00
|
|
|
# 5 - Phone (TODO: pick something more useful)
|
|
|
|
assign [class="linphone"] 5
|
|
|
|
# 6 - Terminals (not auto-assigned since they are needed elsewhere)
|
|
|
|
# 7 - Browser
|
2022-09-17 19:05:37 +00:00
|
|
|
assign [class="firefox"] 7
|
2022-08-23 16:44:58 +00:00
|
|
|
assign [app_id="firefox"] 7
|
2023-01-17 17:52:54 +00:00
|
|
|
# 8 - IDE
|
|
|
|
assign [app_id="neovide"] 8
|
|
|
|
assign [app_id="code-oss-url-handler"] 8
|
2023-04-11 23:50:31 +00:00
|
|
|
assign [class="Code - OSS"] 8
|
2023-01-17 17:52:54 +00:00
|
|
|
# 9 - Music
|
|
|
|
assign [app_id="argos"] 9
|
2022-07-21 03:38:03 +00:00
|
|
|
|
2022-04-19 04:45:01 +00:00
|
|
|
# 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
|
|
|
|
################################################################################
|
|
|
|
|
2024-03-08 21:19:15 +00:00
|
|
|
for_window [title=".*"] sticky disable
|
2023-04-10 01:24:23 +00:00
|
|
|
for_window [app_id="Alacritty-grave"] floating enable, resize set height 600px, resize set width 800px, move position 990px 400px
|
2023-04-10 01:34:04 +00:00
|
|
|
# Gnome software doesn't get correct dimensions
|
|
|
|
for_window [app_id="org.gnome.Software"] floating enable
|
|
|
|
# SSH auth dialog
|
|
|
|
for_window [title="SSH Passphrase"] floating enable
|
|
|
|
# Picture-in-picture firefox
|
|
|
|
for_window [title="^Picture-in-Picture$"] floating enable
|
2022-04-19 04:45:01 +00:00
|
|
|
# Also make Picture-in-picture windows stick to active workspace
|
2024-03-08 21:19:15 +00:00
|
|
|
for_window [title="^Picture-in-Picture$"] sticky enable
|
2023-04-10 01:34:04 +00:00
|
|
|
# Picture-in-Picture
|
2022-04-19 04:45:01 +00:00
|
|
|
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
|
2023-04-10 01:24:23 +00:00
|
|
|
for_window [title="todotxt-machine"] floating enable, resize set height 600px, resize set width 800px, move position 990px 400px
|
2022-04-19 04:45:01 +00:00
|
|
|
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="Vncviewer"] fullscreen enable
|
2023-06-28 00:29:51 +00:00
|
|
|
for_window [app_id="nm-connection-editor"] floating enable
|
2024-10-15 20:48:57 +00:00
|
|
|
for_window [app_id="org.pulseaudio.pavucontrol"] floating enable, resize set height 1080px, resize set width 625px, move position 1080px -2px
|
2022-07-23 08:04:25 +00:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Window titles
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Mark legacy windows running in Xwayland
|
|
|
|
for_window [shell="."] title_format "%title (%app_id)"
|
|
|
|
for_window [shell="xwayland"] title_format "%title [XWayland]"
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
# Misc behaviour
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Maintain 'urgency' for 1 second
|
|
|
|
force_display_urgency_hint 1000 ms
|