diff --git a/README.txt b/README.txt index 6bbb49e..b3741f7 100644 --- a/README.txt +++ b/README.txt @@ -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 diff --git a/spacetemplate b/spacetemplate index c803e55..e58b43c 100755 --- a/spacetemplate +++ b/spacetemplate @@ -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"