diff options
| author | Ethan Marshall <ethan.james.marshall@icloud.com> | 2021-10-20 15:24:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-20 10:24:29 -0400 |
| commit | 7c6b8a85b69dbc3dca55b28f4078ac86fc01cf48 (patch) | |
| tree | 3570de2d9a54bc0bc00101beeea8122f7a01d438 /.local/bin/cron/newsup | |
| parent | 7deabbf3e443bf7d2afbdd2a57323219e329cbf1 (diff) | |
| download | eibhear-7c6b8a85b69dbc3dca55b28f4078ac86fc01cf48.tar.gz eibhear-7c6b8a85b69dbc3dca55b28f4078ac86fc01cf48.tar.zst eibhear-7c6b8a85b69dbc3dca55b28f4078ac86fc01cf48.zip | |
Small newsup fix (#1023)
Only update titles which *exactly* match the title "newsboat"
Diffstat (limited to '.local/bin/cron/newsup')
| -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 cc50e78..ed266d7 100755 --- a/.local/bin/cron/newsup +++ b/.local/bin/cron/newsup @@ -5,7 +5,7 @@ /usr/bin/notify-send "📰 Updating RSS feeds..." -pgrep -f newsboat$ && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name newsboat)" R && exit +pgrep -f newsboat$ && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name "^newsboat$")" R && exit echo 🔃 > /tmp/newsupdate pkill -RTMIN+6 "${STATUSBAR:-dwmblocks}" |
