dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 13b6ab3dc2f1a2c100b26af963b495a9e563e5c2
parent 30f8c087c54c09b69a88eed53e45b48d50104ffd
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 29 Sep 2018 16:02:40 -0400

cron-able newsboat update script added for i3blocks

Diffstat:
M.config/i3blocks/config | 5+++++
A.scripts/newsup | 9+++++++++
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/.config/i3blocks/config b/.config/i3blocks/config @@ -2,6 +2,11 @@ command=/usr/lib/i3blocks/$BLOCK_NAME separator_block_width=15 markup=pango +[news] +command=cat ~/.newsup +interval=once +signal=6 + [record] command=cat ~/.recordingicon interval=once diff --git a/.scripts/newsup 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