Log into XDG_RUNTIME_DIR

This commit is contained in:
2024-04-14 02:14:12 +02:00
parent d0b067e3d4
commit 3fdd991cef
5 changed files with 3 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
set -o nounset
_logfile="$LOGDIR/dunstctl.log"
_logfile="$XDG_RUNTIME_DIR/dunstctl.log"
log() {
printf '[%s] %s\n' "$(date -uIseconds)" "$*" >> "$_logfile"