Compare commits
2 Commits
198ecb119d
...
4e66b474aa
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e66b474aa | |||
| d448426b49 |
@@ -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"))
|
||||
|
||||
@@ -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
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user