--- /dev/null
+#!/bin/sh
+url=$(sfeed_plain "$HOME/.sfeed/feeds/"* | dmenu -l 35 -i | \
+ sed -n 's@^.* \([a-zA-Z]*://\)\(.*\)$@\1\2@p')
+test -n "${url}" && $BROWSER "${url}"
--- /dev/null
+#!/bin/bash
+
+UPDATEFILE='/tmp/rsscount'
+NUM=0
+
+string=$(newsboat -x print-unread)
+err=$(echo "$string" | grep -Po 'Error')
+count=$(echo "$string" | grep -Po '[0-9]*')
+readcount=0
+
+[ -f $UPDATEFILE ] && readcount=$(cat $UPDATEFILE)
+
+if [ ! -z $err ]; then
+ [ $readcount -ne 0 ] && echo "$readcount"
+else
+ [ $count -ne 0 ] && echo "$count"
+ echo $count > $UPDATEFILE
+fi