screenshot capture

This commit is contained in:
Motiejus Jakštys 2024-10-15 14:27:39 +03:00
parent f312dd9801
commit a614177fb9
2 changed files with 6 additions and 2 deletions

View File

@ -153,6 +153,7 @@ in
xclip
pdftk
putty
scrot
tracy
x11vnc
yt-dlp

View File

@ -231,8 +231,11 @@ root.buttons(gears.table.join(
-- {{{ Key bindings
globalkeys = gears.table.join(
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
{description="show help", group="awesome"}),
--awful.key({ modkey, }, "s", hotkeys_popup.show_help,
-- {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,
{description = "view previous", group = "tag"}),
awful.key({ modkey, }, "Right", awful.tag.viewnext,