AutoYADM commit: 2025-03-17 18:05:14

This commit is contained in:
Daniel Fichtinger 2025-03-17 18:05:14 -04:00
parent 0c05b94504
commit b899e616e5
6 changed files with 10 additions and 35 deletions

View file

@ -1 +1 @@
config##hostname.dbox
config##hostname.dpad

View file

@ -1 +1 @@
kitty.conf##hostname.dbox
kitty.conf##hostname.dpad

View file

@ -1,28 +1,3 @@
#!/bin/sh
#!/bin/env bash
PIPE="/tmp/email_refresh_pipe"
# Create pipe if doesn't exist
[ -p "$PIPE" ] || mkfifo "$PIPE"
MBSYNC=$(pgrep mbsync)
NOTMUCH=$(pgrep notmuch)
if [ -n "$MBSYNC" -o -n "$NOTMUCH" ]; then
echo "Already running one instance of mbsync or notmuch. Exiting..."
exit 0
fi
# echo "Deleting messages tagged as *deleted*"
# notmuch search --format=text0 --output=files tag:deleted | xargs -0 --no-run-if-empty rm -v
# sync mailbox with external servers
mbsync -Va
# apply tag:new to new mail
notmuch new
# new mail tagging pipeline
afew --tag --new
# signal waybar indicator update
echo "refresh" > "$PIPE"
# generate new ranked addressbook
maildir-rank-addr
echo "Hello, World!"

View file

@ -1 +1 @@
config.kdl##hostname.dbox
config.kdl##hostname.dpad

View file

@ -1 +1 @@
config##hostname.dbox
config##hostname.dpad

View file

@ -1,10 +1,10 @@
Videos /home/fic/Videos v
Videos /home/fic/Videos/ v
SyncDocuments /home/fic/SyncDocuments/ s
SyncDocuments /home/fic/SyncDocuments s
Pictures /home/fic/Pictures/ p
SyncDocuments /home/fic/SyncDocuments/ s
Pictures /home/fic/Pictures p
Downloads /home/fic/Downloads D
Pictures /home/fic/Pictures/ p
Downloads /home/fic/Downloads/ D
Documents /home/fic/Documents/ d
Downloads /home/fic/Downloads D
Documents /home/fic/Documents d
Documents /home/fic/Documents/ d