aboutsummaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authorBlista Kanjo2021-11-02 12:14:45 -0400
committerBlista Kanjo2021-11-02 12:14:45 -0400
commit379ea1b05a7a2a0217d61a3521eccbe2cd6f9b32 (patch)
tree27296d1346cdfe28747acbf13978995c7363237c /awesome
parentad9a7b3e31f078cb2c9dd4171d578428cd56bcca (diff)
easy_async_with_shell for xfce4-screenshooter
Diffstat (limited to 'awesome')
-rw-r--r--awesome/rc.lua6
1 files 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"}),