Fixed screenshot
This commit is contained in:
parent
220bc3fe88
commit
eceb465e70
|
@ -502,11 +502,13 @@ for i = 1, 9 do
|
|||
{description = "unmute audio", group = "audio"}),
|
||||
awful.key({ modkey }, "Print",
|
||||
function ()
|
||||
naughty.notify({ preset = naughty.config.presets.info,
|
||||
local command = [[bash -c 'escrotum "$(xdg-user-dir PICTURES)/%Y-%m-%d_%T_screenshot.png"']]
|
||||
awful.spawn.easy_async(command, function(stdout, stderr)
|
||||
naughty.notify {
|
||||
title = "Screenshot saved!",
|
||||
text = "Nice"})
|
||||
|
||||
awful.spawn("escrotum \"$(xdg-user-dir PICTURES)/%Y-%m-%d_screenshot.png\"")
|
||||
text = stdout,
|
||||
}
|
||||
end)
|
||||
end,
|
||||
{description = "Take screenshot", group = "audio"})
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user