From e860d9a8f7ca586fa88ba2f0b1325377ebb14615 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 8 Oct 2020 01:53:07 -0400 Subject: dwmblocks scripts --- .local/bin/dwmbar/dwmb-news | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .local/bin/dwmbar/dwmb-news (limited to '.local/bin/dwmbar/dwmb-news') diff --git a/.local/bin/dwmbar/dwmb-news b/.local/bin/dwmbar/dwmb-news new file mode 100755 index 0000000..45ec966 --- /dev/null +++ b/.local/bin/dwmbar/dwmb-news @@ -0,0 +1,3 @@ +#!/bin/sh + + cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print "  " $1}')$(cat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null) " -- cgit v1.2.3