summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/rc.lua b/rc.lua
index a86a83a..fc14f9b 100644
--- a/rc.lua
+++ b/rc.lua
@@ -476,24 +476,24 @@ end
-- {{{ Tag controls
for i = 1, keynumber do
globalkeys = awful.util.table.join( globalkeys,
- awful.key({ modkey }, i, function ()
+ awful.key({ modkey }, "#" .. i + 9, function ()
local screen = mouse.screen
if tags[screen][i] then
awful.tag.viewonly(tags[screen][i])
end
end),
- awful.key({ modkey, "Control" }, i, function ()
+ awful.key({ modkey, "Control" }, "#" .. i + 9, function ()
local screen = mouse.screen
if tags[screen][i] then
awful.tag.viewtoggle(tags[screen][i])
end
end),
- awful.key({ modkey, "Shift" }, i, function ()
+ awful.key({ modkey, "Shift" }, "#" .. i + 9, function ()
if client.focus and tags[client.focus.screen][i] then
awful.client.movetotag(tags[client.focus.screen][i])
end
end),
- awful.key({ modkey, "Control", "Shift" }, i, function ()
+ awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, function ()
if client.focus and tags[client.focus.screen][i] then
awful.client.toggletag(tags[client.focus.screen][i])
end