Read standard XDG directories via systemd

This commit is contained in:
Ohad Livne 2025-06-04 22:47:16 +03:00
parent 6ed89375e3
commit 3ab55ee128
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
4 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#! /usr/bin/sh
projdir="${HOME}/Projects"
projdir="$(systemd-path user)"/Projects
mkdir -p "${projdir}"
rm -rf "${projdir}/lilypond"
cd "${projdir}" || exit