summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorEthan Marshall <ethan.james.marshall@icloud.com>2021-10-20 15:24:29 +0100
committerGitHub <noreply@github.com>2021-10-20 10:24:29 -0400
commit7c6b8a85b69dbc3dca55b28f4078ac86fc01cf48 (patch)
tree3570de2d9a54bc0bc00101beeea8122f7a01d438 /.local
parent7deabbf3e443bf7d2afbdd2a57323219e329cbf1 (diff)
downloadeibhear-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')
-rwxr-xr-x.local/bin/cron/newsup2
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}"