summaryrefslogtreecommitdiff
path: root/newsup
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2025-11-12 09:54:05 +0100
committerfilip <“filip.rabiega@gmail.com”>2025-11-12 09:54:05 +0100
commita5a501116087587e043d9c682de28f5297059c55 (patch)
treebb9b53aee71e7f8febe457e595e5ef447d2fc464 /newsup
parent563c858d140b2854bbb130caacb44cfed81ad837 (diff)
downloadchadscripts-a5a501116087587e043d9c682de28f5297059c55.tar.gz
chadscripts-a5a501116087587e043d9c682de28f5297059c55.tar.bz2
chadscripts-a5a501116087587e043d9c682de28f5297059c55.zip
no message
Diffstat (limited to 'newsup')
-rwxr-xr-xnewsup3
1 files changed, 3 insertions, 0 deletions
diff --git a/newsup b/newsup
index 93ecbb3..42e90fd 100755
--- a/newsup
+++ b/newsup
@@ -1,5 +1,8 @@
#!/bin/sh
+export DISPLAY=:0.0
+export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
+
/usr/bin/notify-send "Updating RSS feeds..."
pgrep -f newsboat$ && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name "^newsboat$")" R && exit