diff options
author | Alexander Shabalin <shabalyn.a@gmail.com> | 2014-09-14 14:28:26 +0400 |
---|---|---|
committer | Alexander Shabalin <shabalyn.a@gmail.com> | 2014-09-24 23:49:47 +0400 |
commit | 05554f239c79d738848f5453b16b8ad01e9a5f50 (patch) | |
tree | fba70a167596c7bbb8c668f9084e14e70b9ba1b7 /readme.md | |
parent | 2215d77ff8ffb55cfd0c098a017a86ecf0620b05 (diff) | |
download | xmobar-05554f239c79d738848f5453b16b8ad01e9a5f50.tar.gz xmobar-05554f239c79d738848f5453b16b8ad01e9a5f50.tar.bz2 |
Add iconRoot config option
For all <icon=path/> if path does not start with "/", "./", "../"
it will have iconRoot ++ "/" prepended to it.
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -319,6 +319,11 @@ Other configuration options: `borderWidth` : Border width in pixels. +`iconRoot` +: Root folder where icons are stored. For <icon=path/> + if path start with `"/"`, `"./"` or `"../"` it is interpreted as it is. + Otherwise it will have `iconRoot ++ "/"` prepended to it. Default is `"."`. + `commands` : For setting the options of the programs to run (optional). @@ -495,7 +500,8 @@ form: <icon=/path/to/bitmap.xbm/> which will produce the expected result. Accepted image formats are XBM -and XPM (when `with_xpm` flag is enabled). +and XPM (when `with_xpm` flag is enabled). If path does not start with +`"/"`, `"./"`, `"../"` it will have `iconRoot ++ "/"` prepended to it. It's also possible to use action directives of the form: |