summaryrefslogtreecommitdiff
path: root/bindings.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-06-22 12:35:51 +0200
committerAnton Khirnov <anton@khirnov.net>2018-06-22 12:35:51 +0200
commitf90e2ea391b1f39e30f5c07a0305151406586487 (patch)
tree7c19c66cc51a34266506bf71d02b764e42bcb815 /bindings.lua
parenta893a33ea312167899c12002ace612475e2ecdf6 (diff)
Make sure windows are spawned on the current tag.
Diffstat (limited to 'bindings.lua')
-rw-r--r--bindings.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings.lua b/bindings.lua
index 05217b7..98ecb85 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -12,9 +12,9 @@ function M.create(workspace)
awful.key({ modkey }, "Pause", function () awful.util.spawn("xscreensaver-command -lock") end),
-- program launching
- awful.key({ modkey, }, "t", function () awful.util.spawn(commondefs.terminal) end),
- awful.key({ modkey, }, "v", function () awful.util.spawn(commondefs.terminal .. " -e alsamixer") end),
- awful.key({ modkey, }, "Escape", function () awful.util.spawn(commondefs.terminal .. " -e htop") end),
+ awful.key({ modkey, }, "t", function () utils.spawn_current(commondefs.terminal) end),
+ awful.key({ modkey, }, "v", function () utils.spawn_current(commondefs.terminal .. " -e alsamixer") end),
+ awful.key({ modkey, }, "Escape", function () utils.spawn_current(commondefs.terminal .. " -e htop") end),
-- audio control
awful.key({ modkey }, "Prior", function () utils.vol_control(1) end),