I have a sh script for initializing dzen2, and I want to use Source Code Pro font to use there. Here's the code...
param="-p -dock -fn 'Source Code Pro-10'"
the generated_output function is not important
generated_output | dzen2 $param
The problem is, the script doesn't work! dzen2 doesn't started...
After some search I found that the problem may occur because of some problem with single quote '
or double quote "
that I don't really understand...
I have tried using this:
param=$'-p -dock -fn \'Source Code Pro-10\''
# or something like this
param='-p -dock -fn '"'"'Source Code Pro-10'"'"
Still doesn't work...
What's wrong with this script?