From 802c53bb3b7fe1bbc7bce44ea4082e60776c85ab Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Wed, 20 Oct 2021 21:41:23 -0400 Subject: using .easy_async_with_shell for programs that need it --- awesome/rc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index 17fa007..bd7c0ca 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -301,11 +301,11 @@ globalkeys = gears.table.join( {description = "Launch HTOP", group = "launcher"}), -- Brightness Hotkeys - awful.key({ }, "XF86MonBrightnessDown", function () awful.util.spawn("xbacklight -dec 15") end), - awful.key({ }, "XF86MonBrightnessUp", function () awful.util.spawn("xbacklight -inc 15") end), + awful.key({ }, "XF86MonBrightnessDown", function () awful.spawn.easy_async_with_shell("xbacklight -dec 15") end), + awful.key({ }, "XF86MonBrightnessUp", function () awful.spawn.easy_async_with_shell("xbacklight -inc 15") end), -- Emoji Picker - awful.key({ modkey }, "q", function () awful.spawn("sh -c '/home/kylert/.local/share/Blista-Kanjo-Emoji/blista-emoji-picker'") end, + awful.key({ modkey }, "q", function () awful.spawn.easy_async_with_shell("sh -c '/home/kylert/.local/share/Blista-Kanjo-Emoji/blista-emoji-picker'") end, {description = "Launch Emoji Chooser", group = "launcher"}), -- awesome window manager Controls -- cgit v1.2.3