summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/rc.lua b/rc.lua
index 888c441..9ac6c14 100644
--- a/rc.lua
+++ b/rc.lua
@@ -57,7 +57,7 @@ layouts =
tags = {}
for s = 1, screen.count() do
-- Each screen has its own tag table.
- tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, awful.layout.suit.tile)
+ tags[s] = awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, layouts[1])
end
-- }}}
@@ -284,6 +284,7 @@ clientkeys = awful.util.table.join(
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end),
awful.key({ modkey, }, "o", awful.client.movetoscreen ),
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
+ awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end),
--awful.key({ modkey, }, "n", function (c) c.minimized = not c.minimized end),
awful.key({ modkey, }, "m",
function (c)
@@ -326,9 +327,7 @@ for i = 1, keynumber do
awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9,
function ()
if client.focus and tags[client.focus.screen][i] then
- local sel = client.focus
awful.client.toggletag(tags[client.focus.screen][i])
- client.focus = sel
end
end))
end