update configuration

* copy URLs in foot to primary selection
* remove rarely used/invalid choices from delegator
* manually exit in mailsync because ! disabled set -e
* emit OSC 7 cwd so foot can open new windows in current directory
This commit is contained in:
Felix Van der Jeugt 2024-12-19 08:09:48 +01:00
parent 601dea0836
commit 432966a418
No known key found for this signature in database
GPG key ID: 58B209295023754D
5 changed files with 22 additions and 33 deletions

View file

@ -6,10 +6,10 @@ export DISPLAY=":0"
set -e
# Don't sync mails while composing
! pgrep -f mcom > /dev/null
! pgrep -f mfwd > /dev/null
! pgrep -f mbnc > /dev/null
! pgrep -f mrep > /dev/null
if pgrep -f mcom > /dev/null; then exit; fi
if pgrep -f mfwd > /dev/null; then exit; fi
if pgrep -f mbnc > /dev/null; then exit; fi
if pgrep -f mrep > /dev/null; then exit; fi
# Split outbox emails
mlist -d /data/mail/outbox | mpick -t 'from =~~ "posteo"' | mflag -F | mrefile /data/mail/posteo/Sent
@ -31,7 +31,7 @@ fi
# Incorporate new mails and store them in the temp sequence
s="$(mktemp)"
trap "rm '$s'" EXIT KILL
minc $(mdirs /data/mail) > "$s"
mdirs /data/mail | minc > "$s"
{
# Ignores