new: add rofi module
This commit is contained in:
@@ -40,6 +40,7 @@ settings["modules"] = {
|
|||||||
cliphist = true,
|
cliphist = true,
|
||||||
pypr = true,
|
pypr = true,
|
||||||
fcitx5 = false,
|
fcitx5 = false,
|
||||||
|
rofi = 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,28 @@
|
|||||||
|
local bind = require("lua.lib.bind")
|
||||||
|
|
||||||
|
local M = {}
|
||||||
|
|
||||||
|
M.binds = {
|
||||||
|
{
|
||||||
|
keys = bind.with_leader("Space"),
|
||||||
|
dispatcher = hl.dsp.exec_cmd("rofi -show drun -replace -i"),
|
||||||
|
desc = "Rofi launcher",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
keys = bind.with_leader("CTRL + W"),
|
||||||
|
dispatcher = hl.dsp.exec_cmd("~/dotfiles/hypr/scripts/wallpaper.sh select"),
|
||||||
|
desc = "Rofi wallpaper selector",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
keys = bind.with_leader("Print"),
|
||||||
|
dispatcher = hl.dsp.exec_cmd("~/dotfiles/hypr/scripts/screenshot.sh"),
|
||||||
|
desc = "Rofi screenshot dialog",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
keys = bind.with_leader("V"),
|
||||||
|
dispatcher = hl.dsp.exec_cmd("~/dotfiles/scripts/cliphist.sh"),
|
||||||
|
desc = "Rofi cliphist clipboard manager",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
return M
|
||||||
Reference in New Issue
Block a user