aboutsummaryrefslogtreecommitdiff
path: root/damb
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-07-05 21:41:53 +0530
committersinanmohd <sinan@firemail.cc>2023-07-05 21:41:53 +0530
commitde79327879058f9239f3e285925b4067771b53b3 (patch)
treecee83f883dfadf4cd4848d8b4744caf135a514db /damb
parent18bde238ac264b1d2e412ece932875f98b485a66 (diff)
damb: follow xdg spec
Diffstat (limited to 'damb')
-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"