update: init pypr module
This commit is contained in:
@@ -19,6 +19,7 @@ settings["modules"] = {
|
|||||||
swaync = true,
|
swaync = true,
|
||||||
swayosd = true,
|
swayosd = true,
|
||||||
cliphist = true,
|
cliphist = true,
|
||||||
|
pypr = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
return require("lua.lib.utils").extend_config(settings, "lua.user.settings")
|
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