summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-04-26 14:49:41 +0200
committerMichał Cichoń <michcic@gmail.com>2017-05-17 04:37:39 +0200
commit573613e834a0538a3ce8b950cbad7cd11e180723 (patch)
tree2c378916c43059d4bfcdabae302eb01de9430298 /contrib
parentb732d8c429ff77f825cb5de93e139672effd2619 (diff)
downloadpianobar-windows-573613e834a0538a3ce8b950cbad7cd11e180723.tar.gz
pianobar-windows-573613e834a0538a3ce8b950cbad7cd11e180723.tar.bz2
pianobar-windows-573613e834a0538a3ce8b950cbad7cd11e180723.zip
contrib: Use $XDG_HOME_CONFIG
Fixes #618.
Diffstat (limited to 'contrib')
-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