diff --git a/awesomerc.1.txt b/awesomerc.1.txt index 0f71ee4e2..b20fa744e 100644 --- a/awesomerc.1.txt +++ b/awesomerc.1.txt @@ -125,7 +125,6 @@ This widget shows a icon for the focused window using NET_WM_ICON or icon file *mouse*:: Set mouse bindings. - focustitle ~~~~~~~~~~ This widget shows the title of the focused window. @@ -190,10 +189,27 @@ For an example of an awesomerc file, see the file provided with the sources EXAMPLES -------- + The general config and subconfig options for the awesomerc: -.................... -screen +.............................................. +Note: when there are no whitespaces, quotes are optional. + + -> #ff9933 (hexadecimal color notation: #red green blue) + -> 0.3, 0,8 (often values between 0 and 1 are useful) + -> foobar (choose a free name/string) + -> "/home/awesome/pics/icon.png" (path to image) + -> 1, 10, -3 (positive numbers are required mostly) + -> a, 1, F10 (/usr/include/X11/keysymdef.h w/o XK_, 'xev') + -> mod1, mod2,..., mod5 + -> spawn, setborder (see UICB FUNCTIONS above) + -> prog, 3 (argument to a uicb function, where required) + -> "foo bar" +<{.., ...}> -> list of available options + +[MULTI] means, you can use an item multiple times. + +screen [MULTI] { colors { @@ -219,7 +235,9 @@ screen } layouts { - layout { image= } + layout <{dwindle,floating,max, + spiral,tile,tileleft}> { image= } [MULTI] + } padding { @@ -228,100 +246,117 @@ screen right= top= } - statusbar + statusbar [MULTI] { focustitle height= - iconbox + iconbox [MULTI] { image= resize=<{true,false}> - mouse { button= command= modkey= } + mouse [MULTI] + { + button= modkey= + command= arg= + } } layoutinfo netwmicon {} position=<{bottom,top,left,right}> - progressbar + progressbar [MULTI] { - bar { bcolor= bg= fg= } + bar { bcolor= bg= fg= } [MULTI] gap= height= lpadding= - mouse { button= command= modkey= } + mouse [MULTI] + { + button= modkey= + command= arg= + } width= } - taglist + taglist [MULTI] { - mouse { button= command= modkey= } + mouse [MULTI] + { + button= modkey= + command= arg= + } } - textbox + textbox [MULTI] { bg= fg= font= - mouse { button= command= modkey= } - text= w + mouse [MULTI] + { + button= modkey= + command= arg= + } + text= idth= } width= } - tags + tags { - tag + tag [MULTI] { - layout=<{dwindle,floating,max,spiral,tile,tileleft}> - wmfact= - nmaster= + layout=<{dwindle,floating,max, + spiral,tile,tileleft}> + wmfact= + nmaster= } } } rules { - rule + rule [MULTI] { float=<{true,false}> icon= name= screen= - tags= + tags=,,... not_master=<{true,false}> } } keys { - key + key [MULTI] { - arg= + arg= command= key= modkey= } - keylist + keylist [MULTI] { - arglist={, ...} command= - keylist={,...} + keylist={, ...} modkey= } } mouse { - client + client [MULTI] { - arg= + arg= button= command= modkey= } - root + root [MULTI] { - arg= + arg= button= command= modkey= } } -.................... +.............................................. SEE ALSO