From 0221492f62bcc1b766c2a4d5dbe26f6ff2ed8bc2 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 14 Apr 2024 06:38:49 +0200 Subject: squashed init --- home/.selfconfigs/newsboat/open-nb-unread | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 home/.selfconfigs/newsboat/open-nb-unread (limited to 'home/.selfconfigs/newsboat/open-nb-unread') diff --git a/home/.selfconfigs/newsboat/open-nb-unread b/home/.selfconfigs/newsboat/open-nb-unread new file mode 100755 index 0000000..ff4809d --- /dev/null +++ b/home/.selfconfigs/newsboat/open-nb-unread @@ -0,0 +1,7 @@ +#!/bin/bash -eu + +newsboat -x reload +unread=$(newsboat -x print-unread) +if ! [[ "$unread" == 0* ]]; then + newsboat +fi -- cgit v1.2.3-70-g09d2