mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-09-08 02:33:31 +02:00
feat(brightness): set brightness max during daytime
This commit is contained in:
@@ -8,3 +8,9 @@ hl.on("hyprland.start", function()
|
|||||||
hl.exec_cmd("hyprsunset -i")
|
hl.exec_cmd("hyprsunset -i")
|
||||||
hl.exec_cmd("nextcloud --background")
|
hl.exec_cmd("nextcloud --background")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
local time = tonumber(os.date("%H"))
|
||||||
|
|
||||||
|
if time < 22 and time > 9 then
|
||||||
|
hl.exec_cmd("brightnessctl s 100%")
|
||||||
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user