1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Fix deprecation of awful.util.spawn

This commit is contained in:
Bert Peters
2017-01-30 00:09:07 +01:00
parent fbcafccd26
commit 8229ac2f37
2 changed files with 5 additions and 5 deletions

View File

@@ -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(

View File

@@ -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})