diff options
author | Joaquín Aguirrezabalaga <kinote@kinote.org> | 2011-03-31 18:57:15 +0200 |
---|---|---|
committer | Joaquín Aguirrezabalaga <kinote@kinote.org> | 2011-03-31 18:57:15 +0200 |
commit | 6592a831bcb856d17263b544606cd0cf56b68066 (patch) | |
tree | 72c6caf8f200a193ba8d85eebbd7992c620cfa78 | |
parent | 21deba2b5d020bb1dfa8583b7ae95e14f39340e8 (diff) | |
download | awesome-master.tar.gz awesome-master.zip |
-rw-r--r-- | rc.lua | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |