cron-able newsboat update script added for i3blocks

This commit is contained in:
Luke Smith
2018-09-29 16:02:40 -04:00
parent 30f8c087c5
commit 13b6ab3dc2
2 changed files with 14 additions and 0 deletions

9
.scripts/newsup Executable file
View File

@@ -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