From 7c6b8a85b69dbc3dca55b28f4078ac86fc01cf48 Mon Sep 17 00:00:00 2001 From: Ethan Marshall Date: Wed, 20 Oct 2021 15:24:29 +0100 Subject: [PATCH] Small newsup fix (#1023) Only update titles which *exactly* match the title "newsboat" --- .local/bin/cron/newsup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"