Add greenclip
This commit is contained in:
parent
b0944fefb7
commit
525790f1bc
1 changed files with 4 additions and 0 deletions
4
rc.lua
4
rc.lua
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue