From b83abf236eafd2dbaf675f9e179f84c383d4e043 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Wed, 6 May 2026 19:54:51 -0500 Subject: [PATCH 01/16] fix --- run/svc.sd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/svc.sd.sh b/run/svc.sd.sh index 7b5e4b6..265f87e 100755 --- a/run/svc.sd.sh +++ b/run/svc.sd.sh @@ -1 +1 @@ -systemctl --user start sd +systemctl --user $1 sd -- 2.47.3 From 7d20676a1115d76c57e59143109ac09eaeb76e75 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Wed, 6 May 2026 20:41:04 -0500 Subject: [PATCH 02/16] easier bin --- files/pc/bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/pc/bashrc b/files/pc/bashrc index 32d1c1c..7a2e660 100644 --- a/files/pc/bashrc +++ b/files/pc/bashrc @@ -131,6 +131,9 @@ alias in="source $HOME/venv/invoke/bin/activate;cd $HOME/dotfiles/invoke" export PATH="$HOME/bin:$PATH" export PATH="$HOME/bin/platform-tools:$PATH" export PATH="$HOME/.cargo/bin:$PATH" +if [ -f ~/dotfiles/bin/ml ]; then + export PATH="$HOME/dotfiles/bin:$PATH" +fi export LUANTI_DATA="$HOME/.var/app/net.minetest.Minetest/.minetest" export LUANTI_RUN="flatpak run net.minetest.Minetest" @@ -144,7 +147,7 @@ export SYSTEMD_EDITOR=/usr/bin/vim export GOROOT=/home/edward/.go export PATH=$GOROOT/bin:$PATH -source $HOME/envs/invoke/bin/activate +# source $HOME/envs/invoke/bin/activate source $HOME/.env # from invoke --print-completion-script bash > ~/.invoke-complete.sh -- 2.47.3 From bcabb816c6a3ab187d37893f69f1506a7c687b27 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Wed, 6 May 2026 20:42:57 -0500 Subject: [PATCH 03/16] service shortcuts --- bin/svc | 1 + bin/usvc | 1 + run/svc.sd.sh | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100755 bin/svc create mode 100755 bin/usvc delete mode 100755 run/svc.sd.sh diff --git a/bin/svc b/bin/svc new file mode 100755 index 0000000..98250a0 --- /dev/null +++ b/bin/svc @@ -0,0 +1 @@ +sudo systemctl $1 $2 diff --git a/bin/usvc b/bin/usvc new file mode 100755 index 0000000..9bb5ee4 --- /dev/null +++ b/bin/usvc @@ -0,0 +1 @@ +systemctl --user $1 $2 diff --git a/run/svc.sd.sh b/run/svc.sd.sh deleted file mode 100755 index 265f87e..0000000 --- a/run/svc.sd.sh +++ /dev/null @@ -1 +0,0 @@ -systemctl --user $1 sd -- 2.47.3 From 9743f124ff0474e5e659ee0c23f3979abe4960d1 Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 15 May 2026 15:30:47 -0500 Subject: [PATCH 04/16] Remove spaces as they cause issues --- bin/mn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mn b/bin/mn index 54ae9d7..48f98af 100755 --- a/bin/mn +++ b/bin/mn @@ -1,3 +1,5 @@ #!/usr/bin/fish set year (date +%Y) -vim $(printf "$HOME/Journal/$year/%02d-$argv.md" (date +%m)) +set input $(string join '-' $argv) +set topic $(string replace -a ' ' '-' $input) +vim $(printf "$HOME/Journal/$year/%02d-$topic.md" (date +%m)) -- 2.47.3 From 6a68fc8855ed0ca259bcffd50b9552f1e1a84efc Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 21 May 2026 15:44:54 -0500 Subject: [PATCH 05/16] Add mla and moa commands --- bin/mh | 1 + bin/mla | 2 ++ bin/moa | 2 ++ 3 files changed, 5 insertions(+) create mode 100755 bin/mla create mode 100755 bin/moa diff --git a/bin/mh b/bin/mh index 1365cb2..7dec7ae 100755 --- a/bin/mh +++ b/bin/mh @@ -8,5 +8,6 @@ echo "mn meeting topic - open a file Journal/2026/04-meeting topic.md" echo "ml 04 - list files created in April" echo "mo manager - open files named with 'manager' to edit" echo "" +echo "mla, moa - minion X all - act as `ml` and `mo`, but include all previous years of Journal entries" echo "In vi - :r!ml will add list of files to the current buffer" echo "In vi - gf - opens the file name under the cursor - as long as it has no spaces" diff --git a/bin/mla b/bin/mla new file mode 100755 index 0000000..536155f --- /dev/null +++ b/bin/mla @@ -0,0 +1,2 @@ +#!/usr/bin/fish +find $HOME/Journal -type f -iname "*$argv*" diff --git a/bin/moa b/bin/moa new file mode 100755 index 0000000..b7954b8 --- /dev/null +++ b/bin/moa @@ -0,0 +1,2 @@ +#!/usr/bin/fish +vim $(find $HOME/Journal -type f -iname "*$argv*") -- 2.47.3 From 09f53d1c73338a29d8e1b4147c71ef7a97da383f Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 22 May 2026 19:56:56 -0500 Subject: [PATCH 06/16] fixup; --- {run => bin}/sd.sh | 1 + 1 file changed, 1 insertion(+) rename {run => bin}/sd.sh (92%) diff --git a/run/sd.sh b/bin/sd.sh similarity index 92% rename from run/sd.sh rename to bin/sd.sh index 747a5df..6f89fc4 100755 --- a/run/sd.sh +++ b/bin/sd.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash source $HOME/envs/sd/bin/activate +source $HOME/.env cd $SD_DIR;$SD_DIR/webui.sh --listen # Note: Simplest way to setup HTTPS is to run once with --enable-insecure-extension-access and search and install an 'https' extension. -- 2.47.3 From 1b9c02d796909633687d4b337f5104057c33a063 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 26 May 2026 13:04:40 -0500 Subject: [PATCH 07/16] Quick HTML opener --- bin/mh | 1 + bin/mp | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100755 bin/mp diff --git a/bin/mh b/bin/mh index 7dec7ae..4e85828 100755 --- a/bin/mh +++ b/bin/mh @@ -2,6 +2,7 @@ echo "mn - minion new - edit a new file with the year and month in the name" echo "mh - minion help - print this help" echo "ml - minion list - list all files that match" +echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)" echo "mo - minion open - open all files that match" echo "" echo "mn meeting topic - open a file Journal/2026/04-meeting topic.md" diff --git a/bin/mp b/bin/mp new file mode 100755 index 0000000..f15073e --- /dev/null +++ b/bin/mp @@ -0,0 +1,9 @@ +#!/usr/bin/fish +set year (date +%Y) +set files $(find $HOME/Journal/$year -type f -iname "*$argv*") + +for file in $files + mdtohtml $file > $file.html + firefox $file.html +end + -- 2.47.3 From 4dff03db6a66b87657648ff91d202cecbe7f4135 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 26 May 2026 13:09:07 -0500 Subject: [PATCH 08/16] Fixup --- bin/mh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/mh b/bin/mh index 4e85828..8af8f7b 100755 --- a/bin/mh +++ b/bin/mh @@ -1,11 +1,15 @@ #!/usr/bin/fish +echo "Usage:" +echo "" echo "mn - minion new - edit a new file with the year and month in the name" echo "mh - minion help - print this help" echo "ml - minion list - list all files that match" echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)" echo "mo - minion open - open all files that match" echo "" -echo "mn meeting topic - open a file Journal/2026/04-meeting topic.md" +echo "Examples:" +echo "" +echo "mn meeting topic - open a file Journal/2026/04-meeting-topic.md" echo "ml 04 - list files created in April" echo "mo manager - open files named with 'manager' to edit" echo "" -- 2.47.3 From c7f840a666f550cb0eae3a7fdd11c8b2c97bf893 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 27 May 2026 15:53:10 -0500 Subject: [PATCH 09/16] Avoid printing too many matches to html --- bin/mp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/bin/mp b/bin/mp index f15073e..45291cb 100755 --- a/bin/mp +++ b/bin/mp @@ -1,9 +1,14 @@ #!/usr/bin/fish set year (date +%Y) -set files $(find $HOME/Journal/$year -type f -iname "*$argv*") +set files $(find $HOME/Journal/$year -type f -iname "*$argv*\.md") -for file in $files - mdtohtml $file > $file.html - firefox $file.html +if test (count $files) -lt 5; + for file in $files + mdtohtml $file > $file.html + firefox $file.html + end; +else + echo "More than 5 files found." end + -- 2.47.3 From 02afc14146d9bce8e69f687a4b908c0c823f26ff Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 27 May 2026 16:04:27 -0500 Subject: [PATCH 10/16] Only list md files --- bin/ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ml b/bin/ml index ec720d7..4acb211 100755 --- a/bin/ml +++ b/bin/ml @@ -1,3 +1,3 @@ #!/usr/bin/fish set year (date +%Y) -find $HOME/Journal/$year -type f -iname "*$argv*" +find $HOME/Journal/$year -type f -iname "*$argv*\.md" -- 2.47.3 From b99762567c65797bbc232ef7162963a95d5eb780 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 27 May 2026 16:05:22 -0500 Subject: [PATCH 11/16] Add spell checker --- bin/mh | 1 + bin/ms | 2 ++ 2 files changed, 3 insertions(+) create mode 100755 bin/ms diff --git a/bin/mh b/bin/mh index 8af8f7b..df48f4c 100755 --- a/bin/mh +++ b/bin/mh @@ -6,6 +6,7 @@ echo "mh - minion help - print this help" echo "ml - minion list - list all files that match" echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)" echo "mo - minion open - open all files that match" +echo "ms - minion spell - open the matching file with `aspell`" echo "" echo "Examples:" echo "" diff --git a/bin/ms b/bin/ms new file mode 100755 index 0000000..76e9dfd --- /dev/null +++ b/bin/ms @@ -0,0 +1,2 @@ +#!/usr/bin/fish +aspell check "$(ml $argv)" -- 2.47.3 From 11c13070faed2a9d6645de4e5209a34801d8768c Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 28 May 2026 13:56:44 -0500 Subject: [PATCH 12/16] Fixup - only open .md files --- bin/mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mo b/bin/mo index 412174a..2ebc8db 100755 --- a/bin/mo +++ b/bin/mo @@ -1,3 +1,3 @@ #!/usr/bin/fish set year (date +%Y) -vim $(find $HOME/Journal/$year -type f -iname "*$argv*") +vim $(find $HOME/Journal/$year -type f -iname "*$argv*\.md") -- 2.47.3 From b53fcc4a2e8e498269d27e48a31f957d5eb0a15f Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 29 May 2026 13:54:06 -0500 Subject: [PATCH 13/16] Fixup - ignore non .md files --- bin/mla | 2 +- bin/moa | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mla b/bin/mla index 536155f..38103ea 100755 --- a/bin/mla +++ b/bin/mla @@ -1,2 +1,2 @@ #!/usr/bin/fish -find $HOME/Journal -type f -iname "*$argv*" +find $HOME/Journal -type f -iname "*$argv*\.md" diff --git a/bin/moa b/bin/moa index b7954b8..f11065e 100755 --- a/bin/moa +++ b/bin/moa @@ -1,2 +1,2 @@ #!/usr/bin/fish -vim $(find $HOME/Journal -type f -iname "*$argv*") +vim $(find $HOME/Journal -type f -iname "*$argv*\.md") -- 2.47.3 From c948863954942ca6b92fcac51891c69f5eb3d011 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 2 Jun 2026 10:51:08 -0500 Subject: [PATCH 14/16] Migrated to dedicated minion repo --- bin/mh | 19 ------------------- bin/ml | 3 --- bin/mla | 2 -- bin/mn | 5 ----- bin/mo | 3 --- bin/moa | 2 -- bin/mp | 14 -------------- bin/ms | 2 -- 8 files changed, 50 deletions(-) delete mode 100755 bin/mh delete mode 100755 bin/ml delete mode 100755 bin/mla delete mode 100755 bin/mn delete mode 100755 bin/mo delete mode 100755 bin/moa delete mode 100755 bin/mp delete mode 100755 bin/ms diff --git a/bin/mh b/bin/mh deleted file mode 100755 index df48f4c..0000000 --- a/bin/mh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/fish -echo "Usage:" -echo "" -echo "mn - minion new - edit a new file with the year and month in the name" -echo "mh - minion help - print this help" -echo "ml - minion list - list all files that match" -echo "mp - minion print - convert matching files to HTML and open in Firefox (requires https://github.com/gomarkdown/markdown)" -echo "mo - minion open - open all files that match" -echo "ms - minion spell - open the matching file with `aspell`" -echo "" -echo "Examples:" -echo "" -echo "mn meeting topic - open a file Journal/2026/04-meeting-topic.md" -echo "ml 04 - list files created in April" -echo "mo manager - open files named with 'manager' to edit" -echo "" -echo "mla, moa - minion X all - act as `ml` and `mo`, but include all previous years of Journal entries" -echo "In vi - :r!ml will add list of files to the current buffer" -echo "In vi - gf - opens the file name under the cursor - as long as it has no spaces" diff --git a/bin/ml b/bin/ml deleted file mode 100755 index 4acb211..0000000 --- a/bin/ml +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/fish -set year (date +%Y) -find $HOME/Journal/$year -type f -iname "*$argv*\.md" diff --git a/bin/mla b/bin/mla deleted file mode 100755 index 38103ea..0000000 --- a/bin/mla +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/fish -find $HOME/Journal -type f -iname "*$argv*\.md" diff --git a/bin/mn b/bin/mn deleted file mode 100755 index 48f98af..0000000 --- a/bin/mn +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/fish -set year (date +%Y) -set input $(string join '-' $argv) -set topic $(string replace -a ' ' '-' $input) -vim $(printf "$HOME/Journal/$year/%02d-$topic.md" (date +%m)) diff --git a/bin/mo b/bin/mo deleted file mode 100755 index 2ebc8db..0000000 --- a/bin/mo +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/fish -set year (date +%Y) -vim $(find $HOME/Journal/$year -type f -iname "*$argv*\.md") diff --git a/bin/moa b/bin/moa deleted file mode 100755 index f11065e..0000000 --- a/bin/moa +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/fish -vim $(find $HOME/Journal -type f -iname "*$argv*\.md") diff --git a/bin/mp b/bin/mp deleted file mode 100755 index 45291cb..0000000 --- a/bin/mp +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/fish -set year (date +%Y) -set files $(find $HOME/Journal/$year -type f -iname "*$argv*\.md") - -if test (count $files) -lt 5; - for file in $files - mdtohtml $file > $file.html - firefox $file.html - end; -else - echo "More than 5 files found." -end - - diff --git a/bin/ms b/bin/ms deleted file mode 100755 index 76e9dfd..0000000 --- a/bin/ms +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/fish -aspell check "$(ml $argv)" -- 2.47.3 From c0422e6bef068ea56411f3078d11838ab2e983dd Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 2 Jun 2026 10:53:48 -0500 Subject: [PATCH 15/16] Add mn path --- files/ts/bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/files/ts/bashrc b/files/ts/bashrc index 03c299e..62bf644 100644 --- a/files/ts/bashrc +++ b/files/ts/bashrc @@ -141,3 +141,4 @@ $(__git_ps1)\ eval "$(uv generate-shell-completion bash)" [[ -d $HOME/dotfiles/bin ]] && export PATH="$HOME/dotfiles/bin:$PATH" +[[ -d $HOME/src/minion/bin ]] && export PATH="$HOME/src/minion/bin:$PATH" -- 2.47.3 From 1a735846d959250f520e53293b890efdd9874831 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Tue, 2 Jun 2026 18:16:07 -0500 Subject: [PATCH 16/16] Fixup --- files/pc/tasks.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/files/pc/tasks.py b/files/pc/tasks.py index e2f786a..bbc13e8 100644 --- a/files/pc/tasks.py +++ b/files/pc/tasks.py @@ -125,14 +125,7 @@ def payroll(c): # For editing files code(c, f"{PAYROLL}") - payroll_jupyter(c) - -@task -def payroll_jupyter(c): - - # For running the payroll scripts - c.run(f"cd {PAYROLL};{HOME}/envs/jupyter/bin/jupyter-lab") - + print("Use Invoke") @task() def screenshare(c): -- 2.47.3