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:
@@ -139,6 +139,7 @@ local function float_rule(name, match, border_size)
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
hl.window_rule({ name = "obsidian-workspace", match = { class = "^obsidian$" }, workspace = "8" })
|
||||||
hl.window_rule({ name = "thunderbird-workspace", match = { class = "^Thunderbird$" }, workspace = "9" })
|
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("pi-status-ui", { class = "^(pi-status-ui|Pi-status-ui)$" }, 1)
|
||||||
float_rule("alsamixer", { title = "^alsamixer$" }, 1)
|
float_rule("alsamixer", { title = "^alsamixer$" }, 1)
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ return {
|
|||||||
"hypridle",
|
"hypridle",
|
||||||
-- Electron's tray icon registers only when the SNI watcher already exists.
|
-- Electron's tray icon registers only when the SNI watcher already exists.
|
||||||
"sh -c 'sleep 2; exec mullvad-vpn'",
|
"sh -c 'sleep 2; exec mullvad-vpn'",
|
||||||
|
"obsidian",
|
||||||
"thunderbird",
|
"thunderbird",
|
||||||
"nextcloud",
|
"nextcloud",
|
||||||
"spotify",
|
"spotify",
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ return {
|
|||||||
"noctalia",
|
"noctalia",
|
||||||
-- Start after Noctalia has claimed the StatusNotifier watcher.
|
-- Start after Noctalia has claimed the StatusNotifier watcher.
|
||||||
"sh -c 'sleep 2; exec mullvad-vpn'",
|
"sh -c 'sleep 2; exec mullvad-vpn'",
|
||||||
|
"obsidian",
|
||||||
|
"thunderbird",
|
||||||
"nextcloud",
|
"nextcloud",
|
||||||
|
"spotify",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user