summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-22 12:22:03 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-22 12:22:03 +0200
commitae91fbcbbbdc6f04ec62bb11bb7c422e867f4e07 (patch)
tree9363e8b3c6581642959df84246dc58ad69e29ee7
parentupdate (diff)
downloaddotfiles-bsd-ae91fbcbbbdc6f04ec62bb11bb7c422e867f4e07.tar.gz
dotfiles-bsd-ae91fbcbbbdc6f04ec62bb11bb7c422e867f4e07.tar.bz2
dotfiles-bsd-ae91fbcbbbdc6f04ec62bb11bb7c422e867f4e07.tar.xz
dotfiles-bsd-ae91fbcbbbdc6f04ec62bb11bb7c422e867f4e07.tar.zst
dotfiles-bsd-ae91fbcbbbdc6f04ec62bb11bb7c422e867f4e07.zip
update
-rw-r--r--.config/dunst/dunstrc3
-rw-r--r--.config/fontconfig/fonts.conf9
-rw-r--r--.config/mutt/accounts/5-rbousset@secuserve.com.muttrc2
-rwxr-xr-x.local/bin/status/sb-forecast4
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 @@
<alias>
<family>serif</family>
<prefer>
- <family>NotoEmoji Nerd Font</family>
+ # <family>NotoEmoji Nerd Font</family>
+ <family>Mx437 IBM 3270pc</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
- <family>NotoEmoji Nerd Font</family>
+ # <family>NotoEmoji Nerd Font</family>
+ <family>Mx437 IBM 3270pc</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
- <family>NotoEmoji Nerd Font Mono</family>
+ # <family>NotoEmoji Nerd Font Mono</family>
+ <family>Mx437 IBM 3270pc</family>
</prefer>
</alias>
</fontconfig>
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 "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc rbousset@secuserve.com<enter>" "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 "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager Mi ";<save-message>=INBOX<enter>" "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')"