From 13b6ab3dc2f1a2c100b26af963b495a9e563e5c2 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 29 Sep 2018 16:02:40 -0400 Subject: cron-able newsboat update script added for i3blocks --- .scripts/newsup | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .scripts/newsup (limited to '.scripts/newsup') diff --git a/.scripts/newsup b/.scripts/newsup new file mode 100755 index 0000000..986524a --- /dev/null +++ b/.scripts/newsup @@ -0,0 +1,9 @@ +#!/bin/sh + +echo "📰 🔃" > ~/.newsup +pkill -RTMIN+6 i3blocks +printf "Loading new RSS entries for newsboat...\\n" +/usr/bin/newsboat -x reload && + printf "Done.\\n" +echo "" > ~/.newsup +pkill -RTMIN+6 i3blocks -- cgit v1.3.1