From 6208eea2f89cbd7c3dbbce2270a5dbb35a6a7d5d Mon Sep 17 00:00:00 2001 From: Mathias Scheider Date: Fri, 25 Sep 2026 20:11:03 +0200 Subject: [PATCH] hypr: no hypridle in caelestia --- hypr/.config/hypr/hyprland.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hypr/.config/hypr/hyprland.lua b/hypr/.config/hypr/hyprland.lua index 9315147..a15e0eb 100644 --- a/hypr/.config/hypr/hyprland.lua +++ b/hypr/.config/hypr/hyprland.lua @@ -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)