summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-04-26 14:49:41 +0200
committerLars-Dominik Braun <lars@6xq.net>2017-04-26 14:49:41 +0200
commite04e0d8bd97de3eed0e05671945716e7432c3ee7 (patch)
tree36cb61e0378adbd015eb96c67994af037e191608
parent2a8865ad0d7c4976f43d99ed258c84ae4f95b0ce (diff)
downloadpianobar-e04e0d8bd97de3eed0e05671945716e7432c3ee7.tar.gz
pianobar-e04e0d8bd97de3eed0e05671945716e7432c3ee7.tar.bz2
pianobar-e04e0d8bd97de3eed0e05671945716e7432c3ee7.zip
contrib: Use $XDG_HOME_CONFIG
Fixes #618.
-rwxr-xr-xcontrib/eventcmd-examples/eventcmd.sh2
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