scrot: compress png after all
This commit is contained in:
parent
dee1e0f15c
commit
357eff2525
@ -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 '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 && zopflipng -y $f $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"}),
|
||||||
|
Loading…
Reference in New Issue
Block a user