From 0a043dbb7259cc59ac56b31573469f445a7921ed Mon Sep 17 00:00:00 2001 From: mono-b Date: Sun, 18 Dec 2022 23:00:24 -0300 Subject: up --- newsboatreload.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 newsboatreload.sh (limited to 'newsboatreload.sh') diff --git a/newsboatreload.sh b/newsboatreload.sh new file mode 100755 index 0000000..2abcddd --- /dev/null +++ b/newsboatreload.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +while true; do + kill $(pidof newsboat) + rm $XDG_CONFIG_HOME/newsboat/queue + $TERMINAL -e newsboat + if [[ $? == 0 ]] ; then + exec newsboat && break + else + break + fi +done -- cgit v1.2.1