mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 17:54:22 +02:00
bindings: screenshots are now saved in JPG format
This commit is contained in:
parent
ed8adcd4c4
commit
0537902fe8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue