chore: fixes brightness reapplying + noctalia on startup

This commit is contained in:
2026-09-18 03:40:24 +02:00
parent b651711100
commit 89e906fdd6
2 changed files with 48 additions and 46 deletions
+10 -8
View File
@@ -1,5 +1,6 @@
hl.on("hyprland.start", function()
hl.exec_cmd("zshell-cli shell start")
-- hl.exec_cmd("zshell-cli shell start")
hl.exec_cmd("noctalia")
hl.exec_cmd("nm-applet")
hl.exec_cmd("blueman-applet")
hl.exec_cmd("fcitx5")
@@ -10,10 +11,11 @@ hl.on("hyprland.start", function()
hl.exec_cmd("nextcloud --background")
end)
local time = tonumber(os.date("%H"))
if time < 22 and time > 8 then
hl.exec_cmd("brightnessctl s 100%")
else
hl.exec_cmd("brightnessctl s 5%")
end
hl.on("hyprland.start", function()
local time = tonumber(os.date("%H"))
if time < 22 and time > 8 then
hl.exec_cmd("brightnessctl s 100%")
else
hl.exec_cmd("brightnessctl s 5%")
end
end)