xdg user dirs will now be automatically created on the tilde
This commit is contained in:
parent
52a2b3ca32
commit
4ba5b9d215
|
@ -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..."
|
||||
|
|
Loading…
Reference in New Issue