r/xmonad • u/MadafakkaJones • Apr 29 '15
Variable inside of string variable
I have this pieace of code do create a bar. I want to use a variable instead of the static #FFFFFF, so I can use it other places. Can this be done?
myXmonadBar = "~/usr/local/bin/dzen2 -x '0' -y '0' -h '18' -w '1420' -ta 'l' -fg '#FFFFFF' -bg '#aaaaaa'"
0
Upvotes
3
u/eof Apr 29 '15
Yeah the concat operator for strings is
++