bindings: screenshots are now saved in JPG format

This commit is contained in:
Vincent Bernat 2012-07-18 21:35:30 +02:00
parent ed8adcd4c4
commit 0537902fe8

View file

@ -12,8 +12,8 @@ local function screenshot(client)
client = client.window
end
local path = awful.util.getdir("config") .. "/screenshots/" ..
"screenshot-" .. os.date("%Y-%m-%d--%H:%M:%S") .. ".png"
awful.util.spawn("import -window " .. client .. " " .. path, false)
"screenshot-" .. os.date("%Y-%m-%d--%H:%M:%S") .. ".jpg"
awful.util.spawn("import -quality 95 -window " .. client .. " " .. path, false)
end