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:
parent
601dea0836
commit
432966a418
5 changed files with 22 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue