From fac9b6659210d994986cb4f3fceb0ffd33add7cc Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 28 Mar 2014 15:17:41 +0100 Subject: [PATCH] Add and improve some comments to awesomerc.lua --- awesomerc.lua.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 0cf3604c2..2d61b31b0 100755 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -37,7 +37,7 @@ end -- }}} -- {{{ Variable definitions --- Themes define colours, icons, and wallpapers +-- Themes define colours, icons, font and wallpapers. beautiful.init("@AWESOME_THEMES_PATH@/default/theme.lua") -- This is used later as the default terminal and editor to run. @@ -298,6 +298,7 @@ clientkeys = awful.util.table.join( -- This should map on the top row of your keyboard, usually 1 to 9. for i = 1, 9 do globalkeys = awful.util.table.join(globalkeys, + -- View tag only. awful.key({ modkey }, "#" .. i + 9, function () local screen = mouse.screen @@ -306,6 +307,7 @@ for i = 1, 9 do awful.tag.viewonly(tag) end end), + -- Toggle tag. awful.key({ modkey, "Control" }, "#" .. i + 9, function () local screen = mouse.screen @@ -314,6 +316,7 @@ for i = 1, 9 do awful.tag.viewtoggle(tag) end end), + -- Move client to tag. awful.key({ modkey, "Shift" }, "#" .. i + 9, function () if client.focus then @@ -323,6 +326,7 @@ for i = 1, 9 do end end end), + -- Toggle tag. awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, function () if client.focus then @@ -344,6 +348,7 @@ root.keys(globalkeys) -- }}} -- {{{ Rules +-- Rules to apply to new clients (through the "manage" signal). awful.rules.rules = { -- All clients will match this rule. { rule = { },