aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/cron/mailup2
-rwxr-xr-x.local/bin/statusbar/sb-mailbox8
2 files changed, 5 insertions, 5 deletions
diff --git a/.local/bin/cron/mailup b/.local/bin/cron/mailup
index 0b2ab2d..14739c1 100755
--- a/.local/bin/cron/mailup
+++ b/.local/bin/cron/mailup
@@ -2,7 +2,7 @@
pgrep -f mailsync && exit
-echo 🔃 > /tmp/mailupdate
+echo " " > /tmp/mailupdate
pkill -RTMIN+12 "${STATUSBAR:-waybar}"
/usr/local/bin/mailsync
rm -f /tmp/mailupdate
diff --git a/.local/bin/statusbar/sb-mailbox b/.local/bin/statusbar/sb-mailbox
index 13ded2b..fa36584 100755
--- a/.local/bin/statusbar/sb-mailbox
+++ b/.local/bin/statusbar/sb-mailbox
@@ -6,8 +6,8 @@
case $BLOCK_BUTTON in
1) setsid -w -f "$TERMINAL" -e neomutt ; pkill -RTMIN+12 "${STATUSBAR:-waybar}" ;;
2) setsid -f mailup >/dev/null && exit ;;
- 3) notify-send "📬 Mail module" "\- Shows unread mail
-- Shows 🔃 if syncing mail
+ 3) notify-send " Mail module" "\- Shows unread mail
+- Shows  if syncing mail
- Left click opens neomutt
- Middle click syncs mail" ;;
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;;
@@ -18,7 +18,7 @@ unread="$(fd . "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/*/[Ii][Nn][Bb][Oo][Xx
icon=$(bat /tmp/mailupdate 2>/dev/null)
if [ "$unread" -eq 0 ]; then
- [ -n "$icon" ] && echo "📬$icon" || exit 0
+ [ -n "$icon" ] && echo " $icon" || exit 0
else
- echo "📬$unread$icon"
+ echo " $unread$icon"
fi