From: Michael Stapelberg Date: Tue, 15 Nov 2011 23:42:41 +0000 (+0000) Subject: userguide: use bar blocks in the bar related examples X-Git-Tag: 4.2~249 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=09a28f603f9954de625f1bc88ffce2b70088f6e7;p=i3%2Fi3 userguide: use bar blocks in the bar related examples --- diff --git a/docs/userguide b/docs/userguide index 382c20ac..79c97b12 100644 --- a/docs/userguide +++ b/docs/userguide @@ -812,7 +812,9 @@ status_command command *Example*: ------------------------------------------------- -status_command i3status --config ~/.i3status.conf +bar { + status_command i3status --config ~/.i3status.conf +} ------------------------------------------------- === Display mode @@ -834,7 +836,9 @@ mode *Example*: ---------------- -mode hide +bar { + mode hide +} ---------------- === Position @@ -850,7 +854,9 @@ position *Example*: --------------------- -position top +bar { + position top +} --------------------- === Output(s) @@ -871,20 +877,20 @@ output ------------------------------- # big monitor: everything bar { - # The display is connected either via HDMI or via DisplayPort - output HDMI2 - output DP2 - status_command i3status + # The display is connected either via HDMI or via DisplayPort + output HDMI2 + output DP2 + status_command i3status } # laptop monitor: bright colors and i3status with less modules. bar { - output LVDS1 - status_command i3status --config ~/.i3status-small.conf - colors { - background #000000 - statusline #ffffff - } + output LVDS1 + status_command i3status --config ~/.i3status-small.conf + colors { + background #000000 + statusline #ffffff + } } ------------------------------- @@ -904,10 +910,14 @@ tray_output *Example*: ------------------------- # disable system tray -tray_output none +bar { + tray_output none +} # show tray icons on the big monitor -tray_output HDMI2 +bar { + tray_output HDMI2 +} ------------------------- === Font @@ -922,7 +932,9 @@ font *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 @@ -939,7 +951,9 @@ workspace_buttons *Example*: -------------------- -workspace_buttons no +bar { + workspace_buttons no +} -------------------- === Colors @@ -979,14 +993,16 @@ colors { *Example*: -------------------------------------- -colors { - background #000000 - statusline #ffffff - - focused_workspace #ffffff #285577 - active_workspace #ffffff #333333 - inactive_workspace #888888 #222222 - urgent_workspace #ffffff #900000 +bar { + colors { + background #000000 + statusline #ffffff + + focused_workspace #ffffff #285577 + active_workspace #ffffff #333333 + inactive_workspace #888888 #222222 + urgent_workspace #ffffff #900000 + } } --------------------------------------