notifications for newsboat in cronjobs)

This commit is contained in:
Alexander Bocken 2023-10-20 15:51:19 +02:00
parent 04d096c2bc
commit 9ea8d84549
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -1,7 +1,7 @@
#!/bin/sh
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
DBUS_SESSION_BUS_ADDRESS=$(cat /tmp/dbus_session_bus_address)
export DBUS_SESSION_BUS_ADDRESS
export DISPLAY=:0.0
newsboat -x reload & pid=$!
sleep 60
sleep 120
kill -15 $pid