diff --git a/calendar b/calendar index 00860a3..a4d00ee 160000 --- a/calendar +++ b/calendar @@ -1 +1 @@ -Subproject commit 00860a3e21989121550f1eabbaeed84b88a1367f +Subproject commit a4d00ee77feae97a65a8b96c3f5b40cadc82d64c diff --git a/rc.lua b/rc.lua index f5ce381..d5e7e99 100644 --- a/rc.lua +++ b/rc.lua @@ -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 ()