From 3936ffe5e2b494e65fc5a44927fe67311c8c51ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Nied=C5=BAwiedzi=C5=84ski?= Date: Thu, 17 Sep 2020 15:52:30 +0200 Subject: [PATCH 1/2] Use mutt-wizard sync (#815) --- .local/bin/statusbar/mailbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/mailbox b/.local/bin/statusbar/mailbox index ca77f5c..5a67428 100755 --- a/.local/bin/statusbar/mailbox +++ b/.local/bin/statusbar/mailbox @@ -5,7 +5,7 @@ case $BLOCK_BUTTON in 1) setsid -f "$TERMINAL" -e neomutt ;; - 2) setsid -f mailsync >/dev/null ;; + 2) setsid -f mw sync >/dev/null ;; 3) notify-send "📬 Mail module" "\- Shows unread mail - Shows 🔃 if syncing mail - Left click opens neomutt From 189d9072cd1e6e00872f42a92c0401212508edfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Corr=C3=AAa?= Date: Fri, 18 Sep 2020 11:29:23 -0300 Subject: [PATCH 2/2] Fix typo (#817) --- .local/bin/statusbar/weather | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/weather b/.local/bin/statusbar/weather index e04bac0..6652edd 100755 --- a/.local/bin/statusbar/weather +++ b/.local/bin/statusbar/weather @@ -10,7 +10,7 @@ weatherreport="${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" getforecast() { curl -sf "wttr.in/$LOCATION" > "$weatherreport" || exit 1 ;} # Some very particular and terse stream manipulation. We get the maximum -# precipication chance and the daily high and low from the downloaded file and +# precipitation chance and the daily high and low from the downloaded file and # display them with coresponding emojis. showweather() { printf "%s" "$(sed '16q;d' "$weatherreport" | grep -wo "[0-9]*%" | sort -rn | sed "s/^/☔/g;1q" | tr -d '\n')"