Other option for screenshot

This commit is contained in:
Thomas Forgione 2021-07-05 19:28:06 +02:00
parent e003156c60
commit 9a69e038e3
1 changed files with 4 additions and 0 deletions

4
rc.lua
View File

@ -473,6 +473,10 @@ globalkeys = awful.util.table.join(
awful.spawn.easy_async_with_shell('flameshot gui -d 1000', function() end)
end, {description = "capture the screen", group="Fn Keys"}),
awful.key({"Ctrl"}, "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)
end, {description = "capture the screen", group="Fn Keys"}),
awful.key({modkey}, "a", function ()
awful.spawn.easy_async(options.browser, function() end)
naughty.notify({title = "Starting " .. options.browser})