Permalink
Browse files

Merging evolchek's pull request.

  • Loading branch information...
Brett Bohnenkamper
Brett Bohnenkamper committed Jan 31, 2012
1 parent 421d2bb commit 723db7ccafad1ee3b9988b1d57a72cff804ac262
Showing with 6 additions and 1 deletion.
  1. +6 −1 mpdnotify
View
@@ -201,7 +201,12 @@ stop_daemon() {
### constants
-mydir="$XDG_CONFIG_HOME/mpdnotify"
+
+if [ "$XDG_CONFIG_HOME" ]; then
+ mydir="$XDG_CONFIG_HOME/mpdnotify"
+else
+ mydir="$HOME/.config/mpdnotify"
+fi
config="$mydir/config"

0 comments on commit 723db7c

Please sign in to comment.