summaryrefslogtreecommitdiffstats
path: root/.local/bin/cron/newsup
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-09-24 09:50:24 -0400
committerLuke Smith <luke@lukesmith.xyz>2021-09-24 09:50:24 -0400
commit60e61287543dfbbff58bd1ef79d627cf3ca5113d (patch)
tree764138aed3a2f163193e022813f7526d88e78b28 /.local/bin/cron/newsup
parent5caaa489ac45e23d1c0160ab6668d12585f6bffe (diff)
downloadeibhear-60e61287543dfbbff58bd1ef79d627cf3ca5113d.tar.gz
eibhear-60e61287543dfbbff58bd1ef79d627cf3ca5113d.tar.zst
eibhear-60e61287543dfbbff58bd1ef79d627cf3ca5113d.zip
no ping and other tweaks
Diffstat (limited to '.local/bin/cron/newsup')
-rwxr-xr-x.local/bin/cron/newsup2
1 files changed, 0 insertions, 2 deletions
diff --git a/.local/bin/cron/newsup b/.local/bin/cron/newsup
index 29f2b3c..cc50e78 100755
--- a/.local/bin/cron/newsup
+++ b/.local/bin/cron/newsup
@@ -3,8 +3,6 @@
# Set as a cron job to check for new RSS entries for newsboat.
# If newsboat is open, sends it an "R" key to refresh.
-ping -q -c 1 example.org > /dev/null || exit
-
/usr/bin/notify-send "📰 Updating RSS feeds..."
pgrep -f newsboat$ && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name newsboat)" R && exit