hypr: no hypridle in caelestia
This commit is contained in:
@@ -34,12 +34,17 @@ hl.config({
|
|||||||
-- ##################
|
-- ##################
|
||||||
|
|
||||||
hl.on("hyprland.start", function()
|
hl.on("hyprland.start", function()
|
||||||
|
-- start selected shell
|
||||||
if env.shell == "caelestia" then
|
if env.shell == "caelestia" then
|
||||||
hl.exec_cmd("caelestia shell -d")
|
hl.exec_cmd("caelestia shell -d")
|
||||||
else -- env.shell == "noctalia"
|
else -- default: "noctalia"
|
||||||
hl.exec_cmd("noctalia &")
|
hl.exec_cmd("noctalia &")
|
||||||
end
|
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/portal-host-override.sh")
|
||||||
hl.exec_cmd("sh ~/.config/hypr/scripts/ensure-mime-defaults.sh")
|
hl.exec_cmd("sh ~/.config/hypr/scripts/ensure-mime-defaults.sh")
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user