aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks/scripts/email
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-03 20:44:11 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-03 20:44:11 +0200
commit5632e0be34c7a07227543d3b44c3be7a1387613e (patch)
tree19f647dedb6f565c0d4cd3c738f174e4e2796ef1 /config/i3blocks/scripts/email
parent81836945a63f726033fb6550755e2c9dbf1a1f83 (diff)
downloadmyconfigs-5632e0be34c7a07227543d3b44c3be7a1387613e.tar.gz
myconfigs-5632e0be34c7a07227543d3b44c3be7a1387613e.tar.bz2
myconfigs-5632e0be34c7a07227543d3b44c3be7a1387613e.zip
Update email-unread script
Diffstat (limited to 'config/i3blocks/scripts/email')
-rwxr-xr-xconfig/i3blocks/scripts/email3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/i3blocks/scripts/email b/config/i3blocks/scripts/email
index 138deb8..3c1fb1f 100755
--- a/config/i3blocks/scripts/email
+++ b/config/i3blocks/scripts/email
@@ -1,5 +1,4 @@
#!/bin/bash
-
-email-unread -s | tr "\n" " " | sed 's/[ ]*$/\n/'
+echo $(email-unread -s | tr "\n" " ")
echo
echo "#ffff00"