#!/bin/sh [ -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