7 awesomerc - Configuration file for the 'awesome window manager'
12 *awesome* reads *$HOME/.awesomerc* by default. You can choose another configuration
13 file with: awesome -c configuration
18 In awesome, a lot of *functions* are available. These functions are called uicb (User Interface Call Backs). Each function can be bound to a key shortcut or a mouse button.
23 This function quits awesome.
24 *statusbar_toggle* statusbar-identifier::
25 Hide or show statusbar (with no argument, toggle all).
26 *statusbar_set_position* top, bottom, left, right::
27 Set the position of the statusbar.
29 Execute an external program.
31 Replace awesome with another window manager (or itself; i.e. reload config).
32 *widget_tell* widget-identifier data::
33 Feed information to your widgets.
38 Closes the focused client.
39 *client_moveresize* x y width height::
40 Dynamically move and resize floating windows.
41 Coordinates can be relative or absolute. Relative values must begin with + or -.
42 E.g: to move a window 10 pixels up: "+0 \+10 +0 +0" To move a window
43 in the upper left corner and increase its width by 10px: "0 0 \+0 +10"
44 *client_settrans* float::
45 Set client transparency, number can be a relative or absolute floating number in percentage.
47 Swap window placement with the next displayed window.
49 Swap window placement with the previous displayed window.
53 Focus previous window.
55 Set window fullscreen. Calling this function another time will reset the window to its previous state.
56 *client_togglehorizontalmax*::
57 Set window's horizontal size to display width. Calling another time will reset the window to its previous state.
58 *client_toggleverticalmax*::
59 Set window's vertical size to display height. Calling another time will reset the window to its previous state.
60 *client_togglefloating*::
61 Set window floating or tiled.
63 Set window as master window.
64 *client_movetoscreen* relative or absolute integer::
65 Move focused window to the nth screen, or next (+1) or previous (-1). If no screen_number is set, move to the next screen.
66 *client_tag* tag number::
67 Tag focused window with this tag.
69 Add or remove tag to focused window.
71 Move client window with mouse.
72 *client_resizemouse*::
73 Resize client window with mouse.
77 *tag_setlayout* relative or absolute integer::
78 Set layout number; or just switch to the next layout for current tag.
79 *tag_toggleview* tag::
80 Add windows tagged with tag number to current display.
81 *tag_view* tag number::
82 View windows tagged with tag number.
84 Show windows tagged with next tag in list.
86 Show windows tagged with previous tag in list.
87 *tag_viewprev_selected*::
88 Switch back to the previously displayed set of tags.
89 *tag_setmwfact* relative or absolute float::
90 Set master width factor.
91 *tag_setncol* relative or absolute integer::
92 Set number of columns for non-master windows.
93 *tag_setnmaster* relative or absolute integer::
94 Set number of master windows.
98 *screen_focus* relative or absolute integer::
99 Select Screen and focus first window and move mouse.
103 Statusbars can be customized by modifying widgets names, order and options.
107 This widget shows the tag list.
112 Horizontal offset (auto-alignment if not set).
114 Vertical offset (auto-alignment if not set).
118 This widget shows a icon for the selected layout.
123 Horizontal offset (auto-alignment if not set).
125 Vertical offset (auto-alignment if not set).
129 This widget shows a icon for the focused window using NET_WM_ICON or icon file set in rule.
134 Horizontal offset (auto-alignment if not set).
136 Vertical offset (auto-alignment if not set).
140 This widget shows the title of the focused window.
153 Horizontal offset (auto-alignment if not set).
155 Vertical offset (auto-alignment if not set).
159 This widget shows a list of running windows.
170 Background color for focused window.
172 Foreground color for focused window.
176 Show applications icons.
178 Show all windows from all tags.
180 Horizontal offset (auto-alignment if not set).
182 Vertical offset (auto-alignment if not set).
186 This widget shows a text.
203 Horizontal offset (auto-alignment if not set).
205 Vertical offset (auto-alignment if not set).
209 This widget shows an icon.
216 Resize icon to fit into statusbar.
218 Horizontal offset (auto-alignment if not set).
220 Vertical offset (auto-alignment if not set).
224 This widget shows one or more progress-bars.
231 Set height (i.e. 0.9 = 90%)
233 Empty space on the left.
235 Draws a bar; Options: fg, bg, bordercolor.
243 Horizontal offset (auto-alignment if not set).
245 Vertical offset (auto-alignment if not set).
249 This widget shows a graph.
252 Re-scales when input > max (see below).
254 This value prints a full graph.
260 Set height (i.e. 0.9 = 90%)
262 Empty space on the left.
270 Horizontal offset (auto-alignment if not set).
272 Vertical offset (auto-alignment if not set).
276 For an example of an awesomerc file, see the file provided with the sources.
281 The general config and subconfig options for the awesomerc:
283 ..............................................
284 Note: when there is no whitespace, quotes are optional.
286 <boolean> -> "true" or "false"
287 <color> -> #ff9933 (hexadecimal color notation: #red green blue)
288 <float> -> 0.3, 0,8 (often values between 0 and 1 are useful)
289 <font> -> Xft font: mono-10, fixed-12, sans-8, ...
290 <identifier> -> foobar (choose a name/string)
291 <image> -> "/home/awesome/pics/icon.png" (path to image)
292 <integer> -> 1, 10, -3 (positive numbers are required mostly)
293 <key> -> a, 1, F10 (see /usr/include/X11/keysymdef.h w/o XK_ or 'xev')
294 <mod> -> "Mod1", "Mod4", "Control" (modifiers)
295 <regex> -> regular expression
296 <string> -> "foo bar"
297 <uicb-arg> -> prog, 3... (argument to a uicb function, where required)
298 <uicb-cmd> -> spawn, exec, client_tag... (see UICB FUNCTIONS above)
299 <{.., ...}> -> list of available options
301 [MULTI] means, you can use an item multiple times.
303 screen <integer> [MULTI]
307 allow_lower_floats = <boolean>
309 focus_move_pointer = <boolean>
311 new_become_master = <boolean>
312 opacity_unfocused = <integer>
313 resize_hints = <boolean>
314 sloppy_focus = <boolean>
319 tag <identifier> [MULTI]
321 layout = <{dwindle,floating,max,
322 spiral,tile,tileleft}>
329 layout <{dwindle,floating,max,
330 spiral,tile,tileleft}> { image = <image> } [MULTI]
337 normal_border = <color>
340 focus_border = <color>
351 statusbar <identifier> [MULTI]
353 position = <{top,bottom,left,right}>
357 taglist <identifier> [MULTI]
359 x = <integer> y = <integer>
362 button = <integer> modkey = {<mod>, ...}
363 command = <uicb-cmd> arg = <uicb-arg>
366 layoutinfo <identifier>
368 x = <integer> y = <integer>
371 button = <integer> modkey = {<mod>, ...}
372 command = <uicb-cmd> arg = <uicb-arg>
375 netwmicon <identifier>
377 x = <integer> y = <integer>
380 button = <integer> modkey = {<mod>, ...}
381 command = <uicb-cmd> arg = <uicb-arg>
384 focustitle <identifier>
389 align = <{center,left,right}>
390 x = <integer> y = <integer>
393 button = <integer> modkey = {<mod>, ...}
394 command = <uicb-cmd> arg = <uicb-arg>
397 tasklist <identifier>
404 show_icons = <boolean>
406 align = <{center,left,right}>
407 x = <integer> y = <integer>
410 command = <uicb-cmd> arg = <uicb-arg>
411 button = <integer> modkey = {<mod>, ...}
414 textbox <identifier> [MULTI]
421 align = <{center,left,right}>
422 x = <integer> y = <integer>
425 button = <integer> modkey = {<mod>, ...}
426 command = <uicb-cmd> arg = <uicb-arg>
429 iconbox <identifier> [MULTI]
433 x = <integer> y = <integer>
436 button = <integer> modkey = {<mod>, ...}
437 command = <uicb-cmd> arg = <uicb-arg>
440 progressbar <identifier> [MULTI]
442 bar { fg = <color> bg = <color> bordercolor = <color> } [MULTI]
446 padding_left = <integer>
447 x = <integer> y = <integer>
450 button = <integer> modkey = {<mod>, ...}
451 command = <uicb-cmd> arg = <uicb-arg>
454 graph <identifier> [MULTI]
460 padding_left = <integer>
463 bordercolor = <color>
464 x = <integer> y = <integer>
467 button = <integer> modkey = {<mod>, ...}
468 command = <uicb-cmd> arg = <uicb-arg>
478 xproperty_name = <string>
479 xproperty_value = <regex>
480 float = <{auto,true,false}>
484 not_master = <boolean>
491 key = <key> modkey = {<mod>, ...}
492 command = <uicb-cmd> arg = <uicb-arg>
496 keylist = {<key>, ...}
497 modkey = {<mod>, ...}
499 arglist = {<uicb-arg>, ...}
506 button = <integer> modkey = {<mod>, ...}
507 command = <uicb-cmd> arg = <uicb-arg>
511 button = <integer> modkey = {<mod>, ...}
512 command = <uicb-cmd> arg = <uicb-arg>
515 ..............................................
520 awesome(1) awesome-client(1)
525 This man page was written by Julien Danjou <julien@danjou.info> and Marco Candrian <mac@calmar.ws>.
529 http://awesome.naquadah.org