aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks/scripts/email
blob: 2d2628040144fdf1ffed0916ee4705a1e9516911 (plain)
1
2
3
4
5
6
#!/bin/sh
# Note: we cut last character because output ends with new line
OUT="$(email-unread -s | tr "\n" " " | sed 's/ $//')"
echo "$OUT"
echo "$OUT"
echo "#ffff00"