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

View File

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