Add greenclip

This commit is contained in:
Wilfried OLLIVIER 2024-07-26 12:11:17 +02:00
parent b0944fefb7
commit 525790f1bc

4
rc.lua
View file

@ -338,6 +338,9 @@ globalkeys = gears.table.join(
awful.key({ mod4 }, "r", function()
awful.spawn("rofi-pass")
end, { description = "show rofi-pass", group = "launcher" }),
awful.key({ mod4, "Control" }, "space", function()
awful.spawn("rofi -modi \"clipboard:greenclip print\" -show clipboard -run-command '{cmd}'")
end, { description = "show clipboard history", group = "launcher" }),
-- Lock screen
awful.key({ mod4, modkey }, "q", function()
@ -625,6 +628,7 @@ do
local autostarts = {
"xsetroot -cursor_name left_ptr",
"unclutter",
"greenclip daemon"
}
for _, i in pairs(autostarts) do