screenshot capture
This commit is contained in:
parent
f312dd9801
commit
a614177fb9
@ -153,6 +153,7 @@ in
|
|||||||
xclip
|
xclip
|
||||||
pdftk
|
pdftk
|
||||||
putty
|
putty
|
||||||
|
scrot
|
||||||
tracy
|
tracy
|
||||||
x11vnc
|
x11vnc
|
||||||
yt-dlp
|
yt-dlp
|
||||||
|
@ -231,8 +231,11 @@ root.buttons(gears.table.join(
|
|||||||
|
|
||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
globalkeys = gears.table.join(
|
globalkeys = gears.table.join(
|
||||||
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
--awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
||||||
{description="show help", group="awesome"}),
|
-- {description="show help", group="awesome"}),
|
||||||
|
awful.key({ modkey }, "s", function()
|
||||||
|
awful.spawn.with_shell("scrot --select --file '%F_%T_$wx$h.png' --exec 'zopflipng -y $f $f && xclip -selection clipboard -target image/png -i $f'")
|
||||||
|
end),
|
||||||
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
||||||
{description = "view previous", group = "tag"}),
|
{description = "view previous", group = "tag"}),
|
||||||
awful.key({ modkey, }, "Right", awful.tag.viewnext,
|
awful.key({ modkey, }, "Right", awful.tag.viewnext,
|
||||||
|
Loading…
Reference in New Issue
Block a user