newsboatupdate safe killswitch if stuck
This commit is contained in:
parent
18ca6dae6c
commit
637590ab1e
7
.local/bin/newsboatupdate
Executable file
7
.local/bin/newsboatupdate
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user