various changes

* Stop ignoring pdflatex, I rarely use it anyways
* Add gk and gj to iamb, and put invites first
* Search with searx also in tempbrowsers
* teddit is down, don't redirect to it
* scale backgrounds better
* put slight delay in pipewire to avoid races?
* better unsubscribing from gitlab
This commit is contained in:
Felix Van der Jeugt 2025-09-09 17:44:30 +02:00 committed by Felix Van der Jeugt
parent 3c344366cb
commit a1b46218f5
No known key found for this signature in database
GPG key ID: 58B209295023754D
9 changed files with 35 additions and 22 deletions

View file

@ -2,7 +2,19 @@
if [ -z "$*" ]; then
exec munsubscribe .
else
for url in $(mshow -qh list-unsubscribe "$@" | xurls -m http); do
curl -L -w '%{http_code}' -s -o /dev/null "$url"
for mail in $(mseq "$@"); do
if [ -n "$(mshow -qh X-GitLab-Issue-IID)" ]; then
# if it's a gitlab mail, unsubscribe using glab
glab issue unsubscribe "$(mshow "$mail" | sed -n 's/View it on GitLab: \(.*\)/\1/p')"
elif [ -n "$(mshow -qh X-GitLab-MergeRequest-IID)" ]; then
# if it's a gitlab mail, unsubscribe using glab
glab mr unsubscribe "$(mshow "$mail" | sed -n 's/View it on GitLab: \(.*\)/\1/p')"
else
# assume it's a list email
for url in $(mshow -qh list-unsubscribe "$@" | xurls -m http); do
curl -L -w '%{http_code}' -s -o /dev/null "$url"
done
fi
done
fi