PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 321 forks source link

eventcmd.sh: Use XDG paths #618

Closed RichiH closed 7 years ago

RichiH commented 7 years ago

Arguably, this should be in $XDG_CACHE_HOME instead...

PromyLOPh commented 7 years ago

The variable can be (and probably is for a lot of people) undefined/empty.

rabin-io commented 7 years ago

in that case you case use the old path as a default value

 echo ${XDG_HOME_CONFIG:-${HOME}/.config}