diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2017-04-26 14:49:41 +0200 |
---|---|---|
committer | Michał Cichoń <michcic@gmail.com> | 2017-05-17 04:37:39 +0200 |
commit | 573613e834a0538a3ce8b950cbad7cd11e180723 (patch) | |
tree | 2c378916c43059d4bfcdabae302eb01de9430298 /contrib/eventcmd-examples | |
parent | b732d8c429ff77f825cb5de93e139672effd2619 (diff) | |
download | pianobar-windows-573613e834a0538a3ce8b950cbad7cd11e180723.tar.gz pianobar-windows-573613e834a0538a3ce8b950cbad7cd11e180723.tar.bz2 pianobar-windows-573613e834a0538a3ce8b950cbad7cd11e180723.zip |
contrib: Use $XDG_HOME_CONFIG
Fixes #618.
Diffstat (limited to 'contrib/eventcmd-examples')
-rwxr-xr-x | contrib/eventcmd-examples/eventcmd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/eventcmd-examples/eventcmd.sh b/contrib/eventcmd-examples/eventcmd.sh index 7e2872a..f07cb7d 100755 --- a/contrib/eventcmd-examples/eventcmd.sh +++ b/contrib/eventcmd-examples/eventcmd.sh @@ -11,7 +11,7 @@ case "$1" in # songstart) # echo 'naughty.notify({title = "pianobar", text = "Now playing: ' "$title" ' by ' "$artist" '"})' | awesome-client - -# echo "$title -- $artist" > $HOME/.config/pianobar/nowplaying +# echo "$title -- $artist" > ${XDG_HOME_CONFIG:-${HOME}/.config}/pianobar/nowplaying # if [ "$rating" -eq 1 ] # then |