Delayed screenshot

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

@ -1 +1 @@
Subproject commit 00860a3e21989121550f1eabbaeed84b88a1367f
Subproject commit a4d00ee77feae97a65a8b96c3f5b40cadc82d64c

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 ()