From de79327879058f9239f3e285925b4067771b53b3 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 5 Jul 2023 21:41:53 +0530 Subject: damb: follow xdg spec --- damb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'damb') 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" -- cgit v1.2.3