diff --git a/rc.lua b/rc.lua index 15db837..bf53a8a 100644 --- a/rc.lua +++ b/rc.lua @@ -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