Implement new "i3bar_command" option for bar.

This allows you to specify an alternate path to the i3bar binary.
The userguide docu is included.
This commit is contained in:
Jan-Erik Rediger
2011-11-24 21:53:29 +01:00
committed by Michael Stapelberg
parent 0e6d1909b8
commit f23d675de9
6 changed files with 43 additions and 2 deletions

View File

@ -796,6 +796,28 @@ bar {
}
---------------------------
=== i3bar command
By default i3 will just pass +i3bar+ and let your shell handle the execution,
searching your +$PATH+ for a correct version.
If you have a different +i3bar+ somewhere or the binary is not in your +$PATH+ you can
tell i3 what to execute.
The specified command will be passed to +sh -c+, so you can use globbing and
have to have correct quoting etc.
*Syntax*:
----------------------
i3bar_command command
----------------------
*Example*:
-------------------------------------------------
bar {
i3bar_command /home/user/bin/i3bar
}
-------------------------------------------------
=== Statusline command
i3bar can run a program and display every line of its +stdout+ output on the