mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
Add support for environment variable references
The format is key: ${env_variable} Closes #96 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
parent
0bea49b75e
commit
20659d3350
3 changed files with 49 additions and 1 deletions
|
@ -23,6 +23,11 @@ types that are frequently used:
|
|||
- 000000ff: black, no transparency
|
||||
- 00ff00ff: green, no transparency
|
||||
- ff000099: red, semi-transparent
|
||||
- *environment reference*: a string that contains format ${VAR}. This will be
|
||||
replaced by the value of the environment variable VAR. Example:
|
||||
- ${HOME}
|
||||
- ${HOME}/.config/yambar
|
||||
- ENV is ${ENV}, ENV2 is ${ENV2}
|
||||
|
||||
# FORMAT
|
||||
[[ *Name*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue