update: init wallpaper module
This commit is contained in:
@@ -3,6 +3,8 @@ require("lua.lib.globals")
|
|||||||
|
|
||||||
require("lua.conf.monitor")
|
require("lua.conf.monitor")
|
||||||
|
|
||||||
|
require("lua.conf.wallpaper").load()
|
||||||
|
|
||||||
require("lua.modules").load()
|
require("lua.modules").load()
|
||||||
|
|
||||||
hl.bind("SUPER + Return", hl.dsp.exec_cmd("kitty"))
|
hl.bind("SUPER + Return", hl.dsp.exec_cmd("kitty"))
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user