summaryrefslogtreecommitdiff
path: root/newsup
diff options
context:
space:
mode:
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