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

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