summaryrefslogtreecommitdiff
path: root/utils.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-06-22 12:36:54 +0200
committerAnton Khirnov <anton@khirnov.net>2018-06-22 12:37:07 +0200
commit0d4925f5a35ebcb7f143ce9e947d54987a539033 (patch)
tree84b22cc9371e9dc99641dc1c8c27b84842d6bb71 /utils.lua
parentf90e2ea391b1f39e30f5c07a0305151406586487 (diff)
Replace deprecated awful.util.spawn with awful.spawn.
Diffstat (limited to 'utils.lua')
-rw-r--r--utils.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.lua b/utils.lua
index bd3516d..51d159a 100644
--- a/utils.lua
+++ b/utils.lua
@@ -32,7 +32,7 @@ end
-- audio control functions
function M.vol_control(n)
local cmd = string.format("amixer -q set Master %d%%", math.abs(n)) .. (n < 0 and "-" or "+")
- awful.util.spawn(cmd)
+ awful.spawn(cmd)
end
function M.spawn_current(command)