userguide: use bar blocks in the bar related examples

This commit is contained in:
Michael Stapelberg 2011-11-15 23:42:41 +00:00
parent 7498ddd12f
commit 09a28f603f
1 changed files with 40 additions and 24 deletions

View File

@ -812,7 +812,9 @@ status_command command
*Example*:
-------------------------------------------------
bar {
status_command i3status --config ~/.i3status.conf
}
-------------------------------------------------
=== Display mode
@ -834,7 +836,9 @@ mode <dock|hide>
*Example*:
----------------
bar {
mode hide
}
----------------
=== Position
@ -850,7 +854,9 @@ position <top|bottom>
*Example*:
---------------------
bar {
position top
}
---------------------
=== Output(s)
@ -904,10 +910,14 @@ tray_output <none|output>
*Example*:
-------------------------
# disable system tray
bar {
tray_output none
}
# show tray icons on the big monitor
bar {
tray_output HDMI2
}
-------------------------
=== Font
@ -922,7 +932,9 @@ font <font>
*Example*:
--------------------------------------------------------------
bar {
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
}
--------------------------------------------------------------
=== Workspace buttons
@ -939,7 +951,9 @@ workspace_buttons <yes|no>
*Example*:
--------------------
bar {
workspace_buttons no
}
--------------------
=== Colors
@ -979,6 +993,7 @@ colors {
*Example*:
--------------------------------------
bar {
colors {
background #000000
statusline #ffffff
@ -988,6 +1003,7 @@ colors {
inactive_workspace #888888 #222222
urgent_workspace #ffffff #900000
}
}
--------------------------------------
== List of commands