From b184782970853b3c479f6c4ad833a36a3aea7afa Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Sun, 10 May 2020 21:13:46 -0400 Subject: mega update --- i3blocks-news.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 i3blocks-news.sh (limited to 'i3blocks-news.sh') diff --git a/i3blocks-news.sh b/i3blocks-news.sh new file mode 100755 index 0000000..024043a --- /dev/null +++ b/i3blocks-news.sh @@ -0,0 +1,5 @@ +#!/bin/sh +icon=󰎕 + +unread=$(newsboat -x print-unread | cut -d' ' -f1) +[ $unread -gt 0 ] && printf "$icon %s\n" $unread -- cgit v1.2.3