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.key({ mod4 }, "r", function()
awful.spawn("rofi-pass") awful.spawn("rofi-pass")
end, { description = "show rofi-pass", group = "launcher" }), 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 -- Lock screen
awful.key({ mod4, modkey }, "q", function() awful.key({ mod4, modkey }, "q", function()
@ -625,6 +628,7 @@ do
local autostarts = { local autostarts = {
"xsetroot -cursor_name left_ptr", "xsetroot -cursor_name left_ptr",
"unclutter", "unclutter",
"greenclip daemon"
} }
for _, i in pairs(autostarts) do for _, i in pairs(autostarts) do