31 lines
446 B
Lua
31 lines
446 B
Lua
local bind = require("lua.lib.bind")
|
|
local M = {}
|
|
|
|
local function start_pypr()
|
|
hl.exec_cmd("pypr")
|
|
end
|
|
|
|
M.autostart = {
|
|
start_pypr,
|
|
}
|
|
|
|
M.binds = {
|
|
{
|
|
keys = bind.with_leader("SHIFT + Return"),
|
|
dispatcher = hl.dsp.exec_cmd("pypr toggle term"),
|
|
desc = "Pyprland: toggle drop terminal",
|
|
},
|
|
}
|
|
|
|
M.windowrules = {
|
|
{
|
|
name = "Pyprland rules",
|
|
match = {
|
|
class = "kitty-dropterm"
|
|
},
|
|
float = true,
|
|
}
|
|
}
|
|
|
|
return M
|