aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-02-16 04:02:49 -0300
committerEuAndreh <eu@euandre.org>2024-02-16 04:02:49 -0300
commit5beee1730f38578eab05e5cfabc382cdf9490e81 (patch)
treea427a5d29cefe62a810c1b48ced210e21c8b20d9
parentbin/{de,in}flate: Add simple working utilities (diff)
downloaddotfiles-5beee1730f38578eab05e5cfabc382cdf9490e81.tar.gz
dotfiles-5beee1730f38578eab05e5cfabc382cdf9490e81.tar.xz
Update references from ~/Documents/txt/ to ~/txt/
-rw-r--r--Makefile6
-rwxr-xr-xopt/aux/gen-e-list.sh6
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 741a4f7..6e2e5dd 100644
--- a/Makefile
+++ b/Makefile
@@ -77,16 +77,16 @@ $(HOME)/mnt/crypt/.keep: $(HOME)/mnt/suyin/enc
if [ ! -e $@ ]; then cryfs $? $(@D); fi
touch $@
-$(HOME)/Documents/txt/TODOs.md:
+$(HOME)/txt/TODOs.md:
mkdir -p $(@D)
touch $@
-$(HOME)/Documents/txt/scratch.txt:
+$(HOME)/txt/scratch.txt:
mkdir -p $(@D)
touch $@
$(XDG_DATA_HOME)/euandreh/e.list.txt: opt/aux/gen-e-list.sh \
- $(HOME)/Documents/txt/TODOs.md $(HOME)/Documents/txt/scratch.txt
+ $(HOME)/txt/TODOs.md $(HOME)/txt/scratch.txt
sh opt/aux/gen-e-list.sh > $@
diff --git a/opt/aux/gen-e-list.sh b/opt/aux/gen-e-list.sh
index e891d17..d0586f1 100755
--- a/opt/aux/gen-e-list.sh
+++ b/opt/aux/gen-e-list.sh
@@ -3,15 +3,15 @@ set -eu
{
cat <<-EOF
- ~/Documents/txt/TODOs.md
- ~/Documents/txt/scratch.txt
+ ~/txt/TODOs.md
+ ~/txt/scratch.txt
$XDG_CONFIG_HOME/sh/rc
$XDG_CONFIG_HOME/guix/home.scm
$XDG_CONFIG_HOME/guix/system.scm
EOF
find \
- ~/Documents/txt/*.txt ~/Documents/txt/*.md \
+ ~/txt/*.txt ~/txt/*.md \
-not -name TODOs.md -and \
-not -name scratch.txt |
LANG=POSIX.UTF-8 sort