move ~/doc to ~/annex

This commit is contained in:
stupidcomputer 2024-10-15 23:27:09 -05:00
parent af38624f59
commit 3f06705f89
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
working_directory=$(date +%Y-%m-%d) working_directory=$(date +%Y-%m-%d)
human_readable=$(date "+%d %b %Y") human_readable=$(date "+%d %b %Y")
cd ~/doc/briefs/ cd ~/annex/briefs/
mkdir "$working_directory" mkdir "$working_directory"
cd "$working_directory" cd "$working_directory"
@ -23,7 +23,7 @@ cat > main.tex <<EOF
\noindent \textit{Digital Archive Supplement} \hspace{\fill} internal notes: \rule{3cm}{0.4pt} \noindent \textit{Digital Archive Supplement} \hspace{\fill} internal notes: \rule{3cm}{0.4pt}
\noindent \texttt{iref:doc/briefs/$working_directory} \noindent \texttt{iref:annex/briefs/$working_directory}
\vspace{0.4cm} \vspace{0.4cm}
@ -115,4 +115,4 @@ pdflatex main.tex
printf "[!] briefing generated\n" printf "[!] briefing generated\n"
printf "file:///home/usr/doc/briefs/%s/main.pdf\n" "$working_directory" printf "file:///home/usr/annex/briefs/%s/main.pdf\n" "$working_directory"

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
svkbd-mobile-intl & svkbd-mobile-intl &
choice=$(ls ~/doc/music/works | tmenu) choice=$(ls ~/annex/music/works | tmenu)
kill %1 kill %1
if [ -n "$choice" ]; then if [ -n "$choice" ]; then
find "$HOME/doc/music/works/$choice/" -type f | sxiv -i find "$HOME/annex/music/works/$choice/" -type f | sxiv -i
fi fi