diff options
Diffstat (limited to '.local/bin/cron')
| -rwxr-xr-x | .local/bin/cron/newsup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/cron/newsup b/.local/bin/cron/newsup index bfdd2f5..bf8898e 100755 --- a/.local/bin/cron/newsup +++ b/.local/bin/cron/newsup @@ -7,7 +7,7 @@ ping -q -c 1 1.1.1.1 > /dev/null || exit /usr/bin/notify-send "📰 Updating RSS feeds..." -pgrep -x newsboat >/dev/null && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name newsboat)" R && exit +ps ax | grep -q newsboat$ && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name newsboat)" R && exit echo 🔃 > /tmp/newsupdate pkill -RTMIN+6 "${STATUSBAR:-dwmblocks}" |
