diff --git a/lua/conf/init.lua b/lua/conf/init.lua index 15d4ef0..66c90a7 100644 --- a/lua/conf/init.lua +++ b/lua/conf/init.lua @@ -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")) diff --git a/lua/conf/wallpaper.lua b/lua/conf/wallpaper.lua new file mode 100644 index 0000000..ac29c26 --- /dev/null +++ b/lua/conf/wallpaper.lua @@ -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