From ae91fbcbbbdc6f04ec62bb11bb7c422e867f4e07 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 22 Aug 2022 12:22:03 +0200 Subject: update --- .config/dunst/dunstrc | 3 ++- .config/fontconfig/fonts.conf | 9 ++++++--- .config/mutt/accounts/5-rbousset@secuserve.com.muttrc | 2 +- .local/bin/status/sb-forecast | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 9a2cc75..ffe73a9 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -28,7 +28,8 @@ sort = yes idle_threshold = 0 - font = "NotoSans Nerd Font 14" + # font = "NotoSans Nerd Font 14" + font = "Ac437 AT&T PC6300 17" line_height = 0 markup = full diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index 2b72920..e2e9fc1 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -4,19 +4,22 @@ serif - NotoEmoji Nerd Font + # NotoEmoji Nerd Font + Mx437 IBM 3270pc sans-serif - NotoEmoji Nerd Font + # NotoEmoji Nerd Font + Mx437 IBM 3270pc monospace - NotoEmoji Nerd Font Mono + # NotoEmoji Nerd Font Mono + Mx437 IBM 3270pc diff --git a/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc b/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc index 14916ff..128eb3c 100644 --- a/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc +++ b/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc @@ -19,7 +19,7 @@ bind pager G bottom macro index o "killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc rbousset@secuserve.com" "run mbsync to sync rbousset@secuserve.com" unmailboxes * -mailboxes "=INBOX" "=Sent" "=Drafts" "=Junk" "=Trash" "=NEWS" "=Calendrier" "=T&AOI-ches" "=Notes" "=Reports" "=Reports/Unimus" +mailboxes "=INBOX" "=Sent" "=Drafts" "=Junk" "=Trash" "=NEWS" "=Calendrier" "=T&AOI-ches" "=Notes" "=Reports" "=Reports/OTRS" "=Reports/Trello" "=Reports/Teams" "=Reports/Unimus" "=Reports/vzdump" macro index,pager gi "=INBOX" "go to inbox" macro index,pager Mi ";=INBOX" "move mail to inbox" diff --git a/.local/bin/status/sb-forecast b/.local/bin/status/sb-forecast index b022048..317b502 100755 --- a/.local/bin/status/sb-forecast +++ b/.local/bin/status/sb-forecast @@ -5,14 +5,14 @@ weatherglyph="/tmp/weatherglyph" moonglyph="/tmp/moonglyph" getweather() { - curl -sf "wttr.in/Lyon" >$weatherreport || exit 1 + curl -sf "wttr.in/Lyon" >$weatherreport || (rm -f $weatherreport && exit 1) curl -sf "wttr.in/Lyon?format=%c" >$weatherglyph || exit 1 curl -sf "wttr.in/?format=%m" >$moonglyph || exit 1 } [ -f $weatherreport ] && [ "$(gnustat -c %y "$weatherreport" 2>/dev/null | cut -d' ' -f1)" = "$(date '+%Y-%m-%d')" ] || getweather -printf "%s%s %s" \ +printf "%s%s %s" \ "$(cat $weatherglyph)" \ "$(cat $moonglyph)" \ "$(sed '16q;d' "$weatherreport" | grep -wo "[0-9]*%" | sort -rn | sed "s/^/ /g;1q" | tr -d '\n')" -- cgit v1.2.3