Compare commits

...

2 Commits

Author SHA1 Message Date
wyj 4e66b474aa update: init pypr module 2026-05-28 03:55:30 -04:00
wyj d448426b49 update: init wallpaper module 2026-05-28 03:46:58 -04:00
4 changed files with 35 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
+1
View File
@@ -19,6 +19,7 @@ settings["modules"] = {
swaync = true,
swayosd = true,
cliphist = true,
pypr = true,
}
return require("lua.lib.utils").extend_config(settings, "lua.user.settings")
+18
View File
@@ -0,0 +1,18 @@
local bind = require("lua.lib.bind")
local M = {}
local function start_pypr()
hl.exec_cmd("pypr")
end
M.autostart = {
start_pypr,
}
M.binds = {
function()
bind.leader_key("SHIFT + Return", hl.dsp.exec_cmd("pypr toggle term"), "Pyprland: toggle drop terminal", {})
end,
}
return M