mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-10-31 20:16:28 +01:00
chore: fixes brightness reapplying + noctalia on startup
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
hl.on("hyprland.start", function()
|
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("nm-applet")
|
||||||
hl.exec_cmd("blueman-applet")
|
hl.exec_cmd("blueman-applet")
|
||||||
hl.exec_cmd("fcitx5")
|
hl.exec_cmd("fcitx5")
|
||||||
@@ -10,10 +11,11 @@ hl.on("hyprland.start", function()
|
|||||||
hl.exec_cmd("nextcloud --background")
|
hl.exec_cmd("nextcloud --background")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
hl.on("hyprland.start", function()
|
||||||
local time = tonumber(os.date("%H"))
|
local time = tonumber(os.date("%H"))
|
||||||
|
|
||||||
if time < 22 and time > 8 then
|
if time < 22 and time > 8 then
|
||||||
hl.exec_cmd("brightnessctl s 100%")
|
hl.exec_cmd("brightnessctl s 100%")
|
||||||
else
|
else
|
||||||
hl.exec_cmd("brightnessctl s 5%")
|
hl.exec_cmd("brightnessctl s 5%")
|
||||||
end
|
end
|
||||||
|
end)
|
||||||
|
|||||||
+1
-1
@@ -50,5 +50,5 @@ return {
|
|||||||
error = error,
|
error = error,
|
||||||
on_error = on_error,
|
on_error = on_error,
|
||||||
},
|
},
|
||||||
apply_theme = apply_theme,
|
apply_theme = apply_theme
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user