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.
25 Hide or show statusbar.
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 Horizontal offset (auto-alignment if not set).
180 Vertical offset (auto-alignment if not set).
184 This widget shows a text.
201 Horizontal offset (auto-alignment if not set).
203 Vertical offset (auto-alignment if not set).
207 This widget shows an icon.
214 Resize icon to fit into statusbar.
216 Horizontal offset (auto-alignment if not set).
218 Vertical offset (auto-alignment if not set).
222 This widget shows one or more progress-bars.
229 Draws a bar; Options: fg, bg, bcolor.
237 Horizontal offset (auto-alignment if not set).
239 Vertical offset (auto-alignment if not set).
243 For an example of an awesomerc file, see the file provided with the sources.
248 The general config and subconfig options for the awesomerc:
250 ..............................................
251 Note: when there are no whitespace, quotes are optional.
253 <boolean> -> "true" or "false"
254 <color> -> #ff9933 (hexadecimal color notation: #red green blue)
255 <float> -> 0.3, 0,8 (often values between 0 and 1 are useful)
256 <font> -> Xft font: mono-10, fixed-12, sans-8, ...
257 <identifier> -> foobar (choose a name/string)
258 <image> -> "/home/awesome/pics/icon.png" (path to image)
259 <integer> -> 1, 10, -3 (positive numbers are required mostly)
260 <key> -> a, 1, F10 (see /usr/include/X11/keysymdef.h w/o XK_ or 'xev')
261 <mod> -> "Mod1", "Mod4", "Control" (modifiers)
262 <regex> -> regular expression
263 <string> -> "foo bar"
264 <uicb-arg> -> prog, 3... (argument to a uicb function, where required)
265 <uicb-cmd> -> spawn, exec, client_tag... (see UICB FUNCTIONS above)
266 <{.., ...}> -> list of available options
268 [MULTI] means, you can use an item multiple times.
270 screen <integer> [MULTI]
274 allow_lower_floats = <boolean>
276 focus_move_pointer = <boolean>
278 new_become_master = <boolean>
279 opacity_unfocused = <integer>
280 resize_hints = <boolean>
281 sloppy_focus = <boolean>
286 tag <identifier> [MULTI]
288 layout = <{dwindle,floating,max,
289 spiral,tile,tileleft}>
296 layout <{dwindle,floating,max,
297 spiral,tile,tileleft}> { image = <image> } [MULTI]
304 normal_border = <color>
307 focus_border = <color>
318 statusbar <identifier> [MULTI]
320 position = <{top,bottom,left,right}>
324 taglist <identifier> [MULTI]
326 x = <integer> y = <integer>
329 button = <integer> modkey = {<mod>, ...}
330 command = <uicb-cmd> arg = <uicb-arg>
333 layoutinfo <identifier>
335 x = <integer> y = <integer>
338 button = <integer> modkey = {<mod>, ...}
339 command = <uicb-cmd> arg = <uicb-arg>
342 netwmicon <identifier>
344 x = <integer> y = <integer>
347 button = <integer> modkey = {<mod>, ...}
348 command = <uicb-cmd> arg = <uicb-arg>
351 focustitle <identifier>
356 align = <{center,left,right}>
357 x = <integer> y = <integer>
360 button = <integer> modkey = {<mod>, ...}
361 command = <uicb-cmd> arg = <uicb-arg>
364 tasklist <identifier>
371 show_icons = <boolean>
372 align = <{center,left,right}>
373 x = <integer> y = <integer>
376 command = <uicb-cmd> arg = <uicb-arg>
377 button = <integer> modkey = {<mod>, ...}
380 textbox <identifier> [MULTI]
387 align = <{center,left,right}>
388 x = <integer> y = <integer>
391 button = <integer> modkey = {<mod>, ...}
392 command = <uicb-cmd> arg = <uicb-arg>
395 iconbox <identifier> [MULTI]
399 x = <integer> y = <integer>
402 button = <integer> modkey = {<mod>, ...}
403 command = <uicb-cmd> arg = <uicb-arg>
406 progressbar <identifier> [MULTI]
408 bar { bcolor = <color> bg = <color> fg = <color> } [MULTI]
413 x = <integer> y = <integer>
416 button = <integer> modkey = {<mod>, ...}
417 command = <uicb-cmd> arg = <uicb-arg>
427 xproperty_name = <string>
428 xproperty_value = <regex>
433 not_master = <boolean>
440 key = <key> modkey = {<mod>, ...}
441 command = <uicb-cmd> arg = <uicb-arg>
445 keylist = {<key>, ...}
446 modkey = {<mod>, ...}
448 arglist = {<uicb-arg>, ...}
455 button = <integer> modkey = {<mod>, ...}
456 command = <uicb-cmd> arg = <uicb-arg>
460 button = <integer> modkey = {<mod>, ...}
461 command = <uicb-cmd> arg = <uicb-arg>
464 ..............................................
469 awesome(1) awesome-client(1)
474 This man page was written by Julien Danjou <julien@danjou.info> and Marco Candrian <mac@calmar.ws>.
478 http://awesome.naquadah.org