summaryrefslogtreecommitdiff
path: root/newsup
blob: 93ecbb3dbb7708a9437557af92b04dd76371726e (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

/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."