From 0d4925f5a35ebcb7f143ce9e947d54987a539033 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 22 Jun 2018 12:36:54 +0200 Subject: Replace deprecated awful.util.spawn with awful.spawn. --- bindings.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bindings.lua') diff --git a/bindings.lua b/bindings.lua index 98ecb85..2284905 100644 --- a/bindings.lua +++ b/bindings.lua @@ -9,7 +9,7 @@ function M.create(workspace) local globalkeys = awful.util.table.join( awful.key({ modkey, "Mod1" }, "Delete", awesome.restart), - awful.key({ modkey }, "Pause", function () awful.util.spawn("xscreensaver-command -lock") end), + awful.key({ modkey }, "Pause", function () awful.spawn("xscreensaver-command -lock") end), -- program launching awful.key({ modkey, }, "t", function () utils.spawn_current(commondefs.terminal) end), @@ -19,9 +19,9 @@ function M.create(workspace) -- audio control awful.key({ modkey }, "Prior", function () utils.vol_control(1) end), awful.key({ modkey }, "Next", function () utils.vol_control(-1) end), - awful.key({ modkey }, "grave", function () awful.util.spawn("mpc toggle") end), - awful.key({ modkey }, "b", function () awful.util.spawn("mpc next") end), - awful.key({ modkey }, "p", function () awful.util.spawn("mpc prev") end), + awful.key({ modkey }, "grave", function () awful.spawn("mpc toggle") end), + awful.key({ modkey }, "b", function () awful.spawn("mpc next") end), + awful.key({ modkey }, "p", function () awful.spawn("mpc prev") end), -- focus/screen switching awful.key({ modkey, }, "q", function() utils.screen_focus_physical(1) end), -- cgit v1.2.3