From 9a69e038e3c88cb061f57aa2ee527045715bffe2 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 5 Jul 2021 19:28:06 +0200 Subject: [PATCH] Other option for screenshot --- rc.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc.lua b/rc.lua index 1d7c58e..9f464d7 100644 --- a/rc.lua +++ b/rc.lua @@ -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})