summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-09-21 08:20:53 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-09-21 08:20:53 -0400
commitd92bd73428f7c13ec3c3860ab8ee518c336ec458 (patch)
treec8a1884dd04b0e4097123b371403ea98a1abffb0
parent80e868e4afd7332390ee781f33e5841450eaaa77 (diff)
parent189d9072cd1e6e00872f42a92c0401212508edfa (diff)
downloadeibhear-d92bd73428f7c13ec3c3860ab8ee518c336ec458.tar.gz
eibhear-d92bd73428f7c13ec3c3860ab8ee518c336ec458.tar.zst
eibhear-d92bd73428f7c13ec3c3860ab8ee518c336ec458.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice into master
-rwxr-xr-x.local/bin/statusbar/mailbox2
-rwxr-xr-x.local/bin/statusbar/weather2
2 files changed, 2 insertions, 2 deletions
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
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')"