hypr: no hypridle in caelestia
This commit is contained in:
@@ -34,12 +34,17 @@ hl.config({
|
||||
-- ##################
|
||||
|
||||
hl.on("hyprland.start", function()
|
||||
-- start selected shell
|
||||
if env.shell == "caelestia" then
|
||||
hl.exec_cmd("caelestia shell -d")
|
||||
else -- env.shell == "noctalia"
|
||||
else -- default: "noctalia"
|
||||
hl.exec_cmd("noctalia &")
|
||||
end
|
||||
hl.exec_cmd("hypridle &")
|
||||
-- activate hypridle when not using Caelestia (has its own idle-ing mechnism)
|
||||
if env.shell ~= "caelestia" then
|
||||
hl.exec_cmd("hypridle &")
|
||||
end
|
||||
|
||||
hl.exec_cmd("sh ~/.config/hypr/scripts/portal-host-override.sh")
|
||||
hl.exec_cmd("sh ~/.config/hypr/scripts/ensure-mime-defaults.sh")
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user