Delayed screenshot

This commit is contained in:
2021-03-29 10:20:36 +02:00
parent 168b9c877b
commit 848b1bacec
2 changed files with 6 additions and 2 deletions

6
rc.lua
View File

@@ -466,7 +466,11 @@ globalkeys = awful.util.table.join(
end, {description = "skip to the previous music", group="Fn Keys"}),
awful.key({ }, "Print", function ()
awful.spawn.easy_async_with_shell('gnome-screenshot -fp "`echo -n ' .. home .. '"/Pictures/Captures/Capture du " && date "+%Y-%m-%d %H:%M:%S"`.png"', function() end)
awful.spawn.easy_async_with_shell('flameshot gui', function() end)
end, {description = "capture the screen", group="Fn Keys"}),
awful.key({"Shift"}, "Print", function ()
awful.spawn.easy_async_with_shell('flameshot gui -d 1000', function() end)
end, {description = "capture the screen", group="Fn Keys"}),
awful.key({modkey}, "a", function ()