feat(hypr): launch workspace applications on startup

Start Obsidian on workspace 8, Thunderbird on workspace 9, and Spotify in the scratchpad.
This commit is contained in:
2026-08-13 15:48:14 +02:00
parent fd50b7deb9
commit 751432fbb1
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -139,6 +139,7 @@ local function float_rule(name, match, border_size)
})
end
hl.window_rule({ name = "obsidian-workspace", match = { class = "^obsidian$" }, workspace = "8" })
hl.window_rule({ name = "thunderbird-workspace", match = { class = "^Thunderbird$" }, workspace = "9" })
float_rule("pi-status-ui", { class = "^(pi-status-ui|Pi-status-ui)$" }, 1)
float_rule("alsamixer", { title = "^alsamixer$" }, 1)
@@ -13,6 +13,7 @@ return {
"hypridle",
-- Electron's tray icon registers only when the SNI watcher already exists.
"sh -c 'sleep 2; exec mullvad-vpn'",
"obsidian",
"thunderbird",
"nextcloud",
"spotify",
@@ -22,6 +22,9 @@ return {
"noctalia",
-- Start after Noctalia has claimed the StatusNotifier watcher.
"sh -c 'sleep 2; exec mullvad-vpn'",
"obsidian",
"thunderbird",
"nextcloud",
"spotify",
},
}