aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-08-11 19:50:25 -0500
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-08-11 19:50:25 -0500
commitdc05afff4c07b812ae2219c3d4e30247f93845b0 (patch)
tree0d7a6e8b65de6968c7e982d8eaa7076ae94dbe98 /install
parent2289c8861b0bbe53c2ebfc5cc626dbd4026c8e25 (diff)
add git send email config
Diffstat (limited to 'install')
-rwxr-xr-xinstall8
1 files changed, 7 insertions, 1 deletions
diff --git a/install b/install
index 51ad486..e55979e 100755
--- a/install
+++ b/install
@@ -29,10 +29,16 @@ else
fi
echo 'installing configuration files...'
-find -L -- . -type f -name "*.org" | while read -r file; do
+find -L -- . -type f -name "*\.org" | while read -r file; do
echo " installing $file..."
emacs --batch "$file" -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log 2>&1
done
+find -L -- . -type f -name "*\.org\.gpg" | while read -r file; do
+ echo " installing $file..."
+ gpg -d "$file" > tmp.org
+ emacs --batch tmp.org -f package-initialize --eval '(org-babel-tangle)' >> ~/.update-home.log 2>&1
+ rm tmp.org
+done
echo 'installing wallpaper...'
cp .wallpaper ~/.wallpaper