scrot + clipboard improvements
This commit is contained in:
parent
357eff2525
commit
47baee883e
@ -234,7 +234,12 @@ globalkeys = gears.table.join(
|
||||
--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 'xclip -selection clipboard -target image/png -i $f && zopflipng -y $f $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 && \
|
||||
xclip -selection clipboard -target image/png -i $f'
|
||||
]])
|
||||
end),
|
||||
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
||||
{description = "view previous", group = "tag"}),
|
||||
|
Loading…
Reference in New Issue
Block a user