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:
parent
3c344366cb
commit
a1b46218f5
9 changed files with 35 additions and 22 deletions
|
@ -1 +1 @@
|
|||
/home/ninewise/.local/share/pipx/venvs/clirail/bin/clirail
|
||||
/home/ninewise/.local/pipx/venvs/clirail/bin/clirail
|
|
@ -52,6 +52,7 @@ emoji
|
|||
spotify-title
|
||||
youtube-dl
|
||||
audio-dl
|
||||
dictionary
|
||||
HERE
|
||||
)"
|
||||
|
||||
|
@ -100,4 +101,7 @@ case "$choice" in
|
|||
'spotify-title')
|
||||
inject "$(curl -L "$(clip)" | sed -n 's@.*<title>\(.*\) - song \(and lyrics \)\?by \(.*\) | Spotify</title>.*@\1 _van_ \3@p')"
|
||||
;;
|
||||
'dictionary')
|
||||
inject "$(pick < /usr/share/dict/british-english)"
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#!/bin/sh
|
||||
qutebrowser --temp-basedir "$@"
|
||||
/usr/bin/qutebrowser --temp-basedir "$@" \
|
||||
--set url.searchengines '{"DEFAULT": "https://srx.mellowchan.xyz?q={}"}' \
|
||||
--set url.default_page 'https://srx.mellowchan.xyz' \
|
||||
--set url.start_pages 'https://srx.mellowchan.xyz' \
|
||||
--set downloads.location.directory '/tmp'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue