summaryrefslogtreecommitdiffstats
path: root/.local/bin/nb
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-10-05 16:31:12 +0200
committerjoe <rbo@gmx.us>2025-10-05 16:31:12 +0200
commit197e9691db69bce004125d1bf4e70b18bb6a5788 (patch)
treee17ad5d0d53fd14bb25277b9c5db9ff688c596b9 /.local/bin/nb
parentup (diff)
downloaddotfiles-bsd-197e9691db69bce004125d1bf4e70b18bb6a5788.tar.gz
dotfiles-bsd-197e9691db69bce004125d1bf4e70b18bb6a5788.tar.bz2
dotfiles-bsd-197e9691db69bce004125d1bf4e70b18bb6a5788.tar.xz
dotfiles-bsd-197e9691db69bce004125d1bf4e70b18bb6a5788.tar.zst
dotfiles-bsd-197e9691db69bce004125d1bf4e70b18bb6a5788.zip
up
Diffstat (limited to '.local/bin/nb')
-rwxr-xr-x.local/bin/nb9
1 files changed, 0 insertions, 9 deletions
diff --git a/.local/bin/nb b/.local/bin/nb
deleted file mode 100755
index 3b36835..0000000
--- a/.local/bin/nb
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-[ $(hostname -s) = "po-rbo" ] && exec newsboat
-[ -f /tmp/cache.db ] && exec newsboat -c /tmp/cache.db -u /tmp/urls
-cache_file="$XDG_DATA_HOME/newsboat/cache.db.gpg"
-urls_file="$XDG_CONFIG_HOME/newsboat/urls.gpg"
-[ -f $urls_file ] && gpg -q -d $urls_file > /tmp/urls || return
-[ -f $cache_file ] && gpg -q -d $cache_file > /tmp/cache.db || return
-newsboat -c /tmp/cache.db -u /tmp/urls