update: init wallpaper module

This commit is contained in:
2026-05-28 03:46:58 -04:00
parent 198ecb119d
commit d448426b49
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -3,6 +3,8 @@ require("lua.lib.globals")
require("lua.conf.monitor")
require("lua.conf.wallpaper").load()
require("lua.modules").load()
hl.bind("SUPER + Return", hl.dsp.exec_cmd("kitty"))
+14
View File
@@ -0,0 +1,14 @@
local M = {}
local events = require("lua.lib.events")
M.autostart = {
function()
hl.exec_cmd("~/dotfiles/hypr/scripts/init-wallpaper-engine.sh")
end,
}
function M.load()
events.map("hyprland.start", M.autostart)
end
return M