diff --git a/lua/lib/settings.lua b/lua/lib/settings.lua index 957552c..117bb91 100644 --- a/lua/lib/settings.lua +++ b/lua/lib/settings.lua @@ -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") diff --git a/lua/modules/pypr.lua b/lua/modules/pypr.lua new file mode 100644 index 0000000..dd8c8bc --- /dev/null +++ b/lua/modules/pypr.lua @@ -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