This commit is contained in:
stupidcomputer 2024-10-16 00:57:40 -05:00
commit 36c2b69932
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
working_directory=$(date +%Y-%m-%d)
human_readable=$(date "+%d %b %Y")
cd ~/doc/briefs/
cd ~/annex/briefs/
mkdir "$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 \texttt{iref:doc/briefs/$working_directory}
\noindent \texttt{iref:annex/briefs/$working_directory}
\vspace{0.4cm}
@ -115,4 +115,4 @@ pdflatex main.tex
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
svkbd-mobile-intl &
choice=$(ls ~/doc/music/works | tmenu)
choice=$(ls ~/annex/music/works | tmenu)
kill %1
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