summaryrefslogtreecommitdiff
path: root/bindings.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 /bindings.lua
parentf90e2ea391b1f39e30f5c07a0305151406586487 (diff)
Replace deprecated awful.util.spawn with awful.spawn.
Diffstat (limited to 'bindings.lua')
-rw-r--r--bindings.lua8
1 files changed, 4 insertions, 4 deletions
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),