From 4ba5b9d2150536506cf1528b9d6d357ef3a6814a Mon Sep 17 00:00:00 2001 From: sose Date: Sat, 22 Aug 2020 18:15:12 -0700 Subject: [PATCH] xdg user dirs will now be automatically created on the tilde --- dotprofile.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotprofile.template b/dotprofile.template index 42eb497..e199c9e 100644 --- a/dotprofile.template +++ b/dotprofile.template @@ -12,7 +12,12 @@ if ( sshfs {{ TILDE_USERNAME }}@{{ TILDE_NAME }}:/home/{{ TILDE_USERNAME }} {{ T then export XDG_CONFIG_HOME="{{ USER_HOMEDIR }}/.config" export XDG_DATA_HOME="{{ USER_HOMEDIR }}/.local/share" + cd {{ TILDE_HOMEDIR }} + +# TODO: Give user more control over xdg user dir creation + mkdir Desktop Download Music Pictures Public Templates Videos >/dev/null + startx else echo "Failed to mount, aborting..."