Make more auto-friendly
This commit is contained in:
parent
714e3257c9
commit
e3c2d743dc
|
@ -22,6 +22,10 @@ $ spacetemplate templatefolder folder
|
|||
|
||||
There are no arguments― it'll just apply the template folder to the folder.
|
||||
|
||||
I've found it's a great pair to Filer! You can make a location rule, e.g.,
|
||||
for any subdirectories of a folder, that'll apply that folder's template
|
||||
automatically. Filer's a great program c:
|
||||
|
||||
|
||||
========================================
|
||||
TEMPLATES
|
||||
|
|
|
@ -118,6 +118,9 @@ if test -z "$TEMPLATE" -o -z "$TARGET"; then help; fi
|
|||
if test ! -e "$TEMPLATE" -o ! -e "$TARGET"; then help; fi
|
||||
|
||||
TEMP="$(mktemp)"
|
||||
|
||||
notify --title SpaceTemplate "Applying template to ${TARGET}…"
|
||||
apply_template "$TEMPLATE" "$TARGET"
|
||||
notify --title SpaceTemplate "Template applied"
|
||||
|
||||
rm "$TEMP"
|
||||
|
|
Ŝarĝante…
Reference in New Issue