summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoaquín Aguirrezabalaga <kinote@kinote.org>2011-03-31 18:57:15 +0200
committerJoaquín Aguirrezabalaga <kinote@kinote.org>2011-03-31 18:57:15 +0200
commit6592a831bcb856d17263b544606cd0cf56b68066 (patch)
tree72c6caf8f200a193ba8d85eebbd7992c620cfa78
parent21deba2b5d020bb1dfa8583b7ae95e14f39340e8 (diff)
downloadawesome-master.tar.gz
awesome-master.zip
merged from /etc/xdg/awesome/rc.luaHEADmaster
-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