tmp: Make templates dir hidden

This commit is contained in:
2019-11-04 23:39:46 -06:00
parent 17b2ebada2
commit e9cabb1c26

2
tmp

@@ -58,7 +58,7 @@ if [ -n "$1" ]; then
source "$userdirs" source "$userdirs"
fi fi
unset userdirs unset userdirs
copydir="${XDG_TEMPLATES_DIR:-~/Templates}/tmp/$1" copydir="${XDG_TEMPLATES_DIR:-~/Templates}/.tmp/$1"
if ! [ -d "$copydir" ]; then if ! [ -d "$copydir" ]; then
log "Could not find template directory \"$copydir\"" log "Could not find template directory \"$copydir\""
exit 3 exit 3