From 379ea1b05a7a2a0217d61a3521eccbe2cd6f9b32 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Tue, 2 Nov 2021 12:14:45 -0400 Subject: easy_async_with_shell for xfce4-screenshooter --- awesome/rc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index bf7b438..cc90514 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -292,11 +292,11 @@ globalkeys = gears.table.join( {description = "search the filesystem", group = "launcher"}), awful.key({ modkey, }, "e", function () awful.spawn("thunar") end, {description = "open a file manager", group = "launcher"}), - awful.key({ }, "Print", function () awful.spawn("xfce4-screenshooter -f --mouse") end, + awful.key({ }, "Print", function () awful.spawn.easy_async_with_shell("xfce4-screenshooter -f --mouse") end, {description = "take a screenshot of the fullscreen", group = "launcher"}), - awful.key({ modkey }, "Print", function () awful.spawn("xfce4-screenshooter -w --mouse") end, + awful.key({ modkey }, "Print", function () awful.spawn.easy_async_with_shell("xfce4-screenshooter -w --mouse") end, {description = "take a screenshot of the active window", group = "launcher"}), - awful.key({ "Shift" }, "Print", function () awful.spawn("xfce4-screenshooter -r --mouse") end, + awful.key({ "Shift" }, "Print", function () awful.spawn.easy_async_with_shell("xfce4-screenshooter -r --mouse") end, {description = "take a screenshot of an area of the screen", group = "launcher"}), awful.key({ "Shift", "Control" }, "x", function () awful.spawn.easy_async_with_shell("xkill") end, {description = "kill a window by brute force", group = "launcher"}), -- cgit v1.2.3