#!/bin/sh export DISPLAY=:0.0 export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus /usr/bin/notify-send "Updating RSS feeds..." pgrep -f newsboat$ && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name "^newsboat$")" R && exit /usr/bin/newsboat -x reload /usr/bin/notify-send "RSS feed update complete."