From 8229ac2f37f194c82d5b7c3eac8cb52038960e7c Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Mon, 30 Jan 2017 00:09:07 +0100 Subject: [PATCH] Fix deprecation of awful.util.spawn --- awesome/.config/awesome/rc.lua | 6 +++--- awesome/.config/awesome/volume.lua | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 526d946..0d0309f 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -19,7 +19,7 @@ do } for _,i in pairs(programs) do - awful.util.spawn(i) + awful.spawn(i) end end @@ -339,9 +339,9 @@ globalkeys = awful.util.table.join( -- Backlight control awful.key({ }, "XF86MonBrightnessDown", function () - awful.util.spawn("xbacklight -dec 15") end), + awful.spawn("xbacklight -dec 15") end), awful.key({ }, "XF86MonBrightnessUp", function () - awful.util.spawn("xbacklight -inc 15") end) + awful.spawn("xbacklight -inc 15") end) ) clientkeys = awful.util.table.join( diff --git a/awesome/.config/awesome/volume.lua b/awesome/.config/awesome/volume.lua index cb29c8a..070ac9c 100644 --- a/awesome/.config/awesome/volume.lua +++ b/awesome/.config/awesome/volume.lua @@ -24,9 +24,9 @@ local function volume_command (command) local base = "amixer set Master " if command == "mute" then - awful.util.spawn(base .. "toggle") + awful.spawn(base .. "toggle") else - awful.util.spawn(base .. step .. command) + awful.spawn(base .. step .. command) end vicious.force({widget})