7 awesomerc - Configuration file for the 'awesome window manager'
16 <item> [<argument>] { <option> = <value>, ... }
26 The awesomerc file contains configuration informations for *awesome*. It can
27 be used to configure the behaviour and look of awesome in a variety of ways.
29 It is read at startup.
34 In awesome, a lot of *functions* are available. These functions are called
35 uicb (User Interface Call Backs). Each function can be bound to a key shortcut
41 This function quits awesome.
42 *statusbar_toggle* statusbar-identifier::
43 Hide or show statusbar (with no argument, toggle all).
45 Execute an external program.
47 Replace awesome with another window manager (or itself; i.e. reload config).
48 *widget_tell* widget-identifier data::
49 Feed information to your widgets.
54 Closes the focused client.
55 *client_moveresize* x y width height::
56 Dynamically move and resize floating windows.
57 Coordinates can be relative or absolute. Relative values must begin with + or -.
58 E.g: to move a window 10 pixels up: "+0 \+10 +0 +0" To move a window
59 in the upper left corner and increase its width by 10px: "0 0 \+0 +10"
60 *client_settrans* float::
61 Set client transparency, number can be a relative or absolute floating number in percentage.
63 Swap window placement with the next displayed window.
65 Swap window placement with the previous displayed window.
69 Focus previous window.
71 Set window fullscreen. Calling this function another time will reset the window to its previous state.
72 *client_togglehorizontalmax*::
73 Set window's horizontal size to display width. Calling another time will reset the window to its previous state.
74 *client_toggleverticalmax*::
75 Set window's vertical size to display height. Calling another time will reset the window to its previous state.
76 *client_togglefloating*::
77 Set window floating or tiled.
79 Set window as master window.
80 *client_movetoscreen* relative or absolute integer::
81 Move focused window to the nth screen, or next (+1) or previous (-1). If no screen_number is set, move to the next screen.
82 *client_tag* tag number::
83 Tag focused window with this tag.
85 Add or remove tag to focused window.
87 Move client window with mouse.
88 *client_resizemouse*::
89 Resize client window with mouse.
93 *tag_setlayout* relative or absolute integer::
94 Set layout number; or just switch to the next layout for current tag.
95 *tag_toggleview* tag::
96 Add windows tagged with tag number to current display.
97 *tag_view* tag number::
98 View windows tagged with tag number.
100 Show windows tagged with next tag in list.
102 Show windows tagged with previous tag in list.
103 *tag_prev_selected*::
104 Switch back to the previously displayed set of tags.
105 *tag_setmwfact* relative or absolute float::
106 Set master width factor.
107 *tag_setncol* relative or absolute integer::
108 Set number of columns for non-master windows.
109 *tag_setnmaster* relative or absolute integer::
110 Set number of master windows.
112 Create a new tag with that name.
116 *focus_client_byname* string::
117 Give client focus by its name.
118 *focus_history* negative number::
119 Focus the client that had focused nth focus switch earlier.
123 *screen_focus* relative or absolute integer::
124 Select Screen and focus first window and move mouse.
128 Statusbars can be customized by modifying widgets names, order and options.
132 This widget shows the tag list.
137 Horizontal offset (auto-alignment if not set).
139 Vertical offset (auto-alignment if not set).
143 This widget shows a icon for the selected layout.
148 Horizontal offset (auto-alignment if not set).
150 Vertical offset (auto-alignment if not set).
154 This widget shows a icon for the focused window using NET_WM_ICON or icon file set in rule.
159 Horizontal offset (auto-alignment if not set).
161 Vertical offset (auto-alignment if not set).
165 This widget shows the title of the focused window.
178 Horizontal offset (auto-alignment if not set).
180 Vertical offset (auto-alignment if not set).
184 This widget shows a list of running windows.
195 Background color for focused window.
197 Foreground color for focused window.
201 Show applications icons.
203 Show all windows from all tags.
205 Horizontal offset (auto-alignment if not set).
207 Vertical offset (auto-alignment if not set).
211 This widget shows a text.
228 Horizontal offset (auto-alignment if not set).
230 Vertical offset (auto-alignment if not set).
234 This widget shows an icon.
241 Resize icon to fit into statusbar.
243 Horizontal offset (auto-alignment if not set).
245 Vertical offset (auto-alignment if not set).
249 This widget shows one or more progress-bars.
252 Draws a bar; Options: fg, bg, bordercolor.
256 Foreground color of a full bar (as gradient).
266 Set height (i.e. 0.9 = 90%)
268 Empty space on both sides.
270 Horizontal offset (auto-alignment if not set).
272 Vertical offset (auto-alignment if not set).
276 This widget shows a graph.
279 Defines a data-stream section; Options: max, scale, fg and style.
281 This value prints a full graph (default = 100)
283 Re-scales when input > max (see below).
287 Color at the middle of the graph
289 Color at the end of the graph
291 bottom (fills to bottom with fg), top, or line.
297 Set height (i.e. 0.9 = 90%)
299 Empty space on the left.
305 Horizontal offset (auto-alignment if not set).
307 Vertical offset (auto-alignment if not set).
312 Configuration options and possible values.
314 ..............................................
315 Note: when there is no whitespace, quotes are optional.
317 <boolean> -> "true" or "false"
318 <color> -> #ff9933 (hexadecimal color notation: #red green blue)
319 <float> -> 0.3, 0,8 (often values between 0 and 1 are useful)
320 <font> -> Xft font: mono-10, fixed-12, sans-8, ...
321 <identifier> -> foobar (choose a name/string)
322 <image> -> "/home/awesome/pics/icon.png" (path to image)
323 <integer> -> 1, 10, -3 (positive numbers are required mostly)
324 <key> -> a, 1, F10 (see /usr/include/X11/keysymdef.h w/o XK_ or 'xev')
325 or a keycode beginning with #
326 <mod> -> "Mod1", "Mod4", "Control" (modifiers)
327 <regex> -> regular expression
328 <string> -> "foo bar"
329 <uicb-arg> -> prog, 3... (argument to a uicb function, where required)
330 <uicb-cmd> -> spawn, exec, client_tag... (see UICB FUNCTIONS above)
331 <{.., ...}> -> list of available options
333 [MULTI] means, you can use an item multiple times.
337 screen <integer> [MULTI]
343 new_become_master = <boolean>
344 new_get_focus = <boolean>
345 opacity_unfocused = <integer>
346 resize_hints = <boolean>
347 sloppy_focus = <boolean>
348 sloppy_focus_raise = <boolean>
353 tag <identifier> [MULTI]
355 layout = <{dwindle,floating,max,
356 spiral,tile,tileleft,tilebottom,tiletop}>
363 layout <{dwindle,floating,max,
364 spiral,tile,tileleft,
365 tilebottom,tiletop}> { image = <image> } [MULTI]
372 normal_border = <color>
375 focus_border = <color>
386 statusbar <identifier> [MULTI]
388 position = <{top,bottom,left,right}>
392 taglist <identifier> [MULTI]
394 x = <integer> y = <integer>
397 button = <integer> modkey = {<mod>, ...}
398 command = <uicb-cmd> arg = <uicb-arg>
401 layoutinfo <identifier>
403 x = <integer> y = <integer>
406 button = <integer> modkey = {<mod>, ...}
407 command = <uicb-cmd> arg = <uicb-arg>
410 netwmicon <identifier>
412 x = <integer> y = <integer>
415 button = <integer> modkey = {<mod>, ...}
416 command = <uicb-cmd> arg = <uicb-arg>
419 focustitle <identifier>
424 align = <{center,left,right}>
425 x = <integer> y = <integer>
428 button = <integer> modkey = {<mod>, ...}
429 command = <uicb-cmd> arg = <uicb-arg>
432 tasklist <identifier>
439 show_icons = <boolean>
441 align = <{center,left,right}>
442 x = <integer> y = <integer>
445 command = <uicb-cmd> arg = <uicb-arg>
446 button = <integer> modkey = {<mod>, ...}
449 textbox <identifier> [MULTI]
456 align = <{center,left,right}>
457 x = <integer> y = <integer>
460 button = <integer> modkey = {<mod>, ...}
461 command = <uicb-cmd> arg = <uicb-arg>
464 iconbox <identifier> [MULTI]
468 x = <integer> y = <integer>
471 button = <integer> modkey = {<mod>, ...}
472 command = <uicb-cmd> arg = <uicb-arg>
475 progressbar <identifier> [MULTI]
479 fg = <color> fg_full = <color> fg_half = <color>
480 bg = <color> bordercolor = <color>
486 x = <integer> y = <integer>
489 button = <integer> modkey = {<mod>, ...}
490 command = <uicb-cmd> arg = <uicb-arg>
493 graph <identifier> [MULTI]
497 scale = <boolean> max = <float> style = <{bottom, top, line}>
498 fg = <color> fg_middle = <color> fg_end = <color>
502 padding_left = <integer>
504 bordercolor = <color>
505 x = <integer> y = <integer>
508 button = <integer> modkey = {<mod>, ...}
509 command = <uicb-cmd> arg = <uicb-arg>
519 xproperty_name = <string>
520 xproperty_value = <regex>
521 float = <{auto,true,false}>
522 master = <{auto,true,false}>
533 key = <key> modkey = {<mod>, ...}
534 command = <uicb-cmd> arg = <uicb-arg>
538 keylist = {<key>, ...}
539 modkey = {<mod>, ...}
541 arglist = {<uicb-arg>, ...}
548 button = <integer> modkey = {<mod>, ...}
549 command = <uicb-cmd> arg = <uicb-arg>
553 button = <integer> modkey = {<mod>, ...}
554 command = <uicb-cmd> arg = <uicb-arg>
557 ..............................................
562 Check awesome's wiki: http://awesome.naquadah.org/wiki/
567 awesome(1) awesome-client(1)
572 This man page was written by Julien Danjou <julien@danjou.info> and Marco Candrian <mac@calmar.ws>.
576 http://awesome.naquadah.org