aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdamb2
1 files changed, 1 insertions, 1 deletions
diff --git a/damb b/damb
index d1f198c..6614aaf 100755
--- a/damb
+++ b/damb
@@ -2,7 +2,7 @@
# dir where audio files are stored
amb_dir="$HOME/.local/share/damb"
-pid_file="/tmp/damb.pid"
+pid_file="${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/damb.pid"
config_dir="$HOME/.config/damb"
menu="wmenu"