tmp: Make templates dir hidden
This commit is contained in:
2
tmp
2
tmp
@@ -58,7 +58,7 @@ if [ -n "$1" ]; then
|
||||
source "$userdirs"
|
||||
fi
|
||||
unset userdirs
|
||||
copydir="${XDG_TEMPLATES_DIR:-~/Templates}/tmp/$1"
|
||||
copydir="${XDG_TEMPLATES_DIR:-~/Templates}/.tmp/$1"
|
||||
if ! [ -d "$copydir" ]; then
|
||||
log "Could not find template directory \"$copydir\""
|
||||
exit 3
|
||||
|
Reference in New Issue
Block a user