diff --git a/.local/bin/newsboatupdate b/.local/bin/newsboatupdate new file mode 100755 index 0000000..3419ced --- /dev/null +++ b/.local/bin/newsboatupdate @@ -0,0 +1,7 @@ +#!/bin/sh +DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus +export DBUS_SESSION_BUS_ADDRESS +export DISPLAY=:0.0 +newsboat -x reload & pid=$! +sleep 60 +kill -15 $pid