screen capture: remove zopflipng from the loop

This commit is contained in:
Motiejus Jakštys 2024-10-15 14:30:16 +03:00
parent a614177fb9
commit dee1e0f15c

View File

@ -234,7 +234,7 @@ 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.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'") awful.spawn.with_shell("scrot --select --file '%F_%T_$wx$h.png' --exec 'xclip -selection clipboard -target image/png -i $f'")
end), 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"}),