dotfiles/.local/bin/newsboatupdate

8 lines
176 B
Bash
Executable File

#!/bin/sh
DBUS_SESSION_BUS_ADDRESS=$(cat /tmp/dbus_session_bus_address)
export DBUS_SESSION_BUS_ADDRESS
export DISPLAY=:0.0
newsboat -x reload & pid=$!
sleep 120
kill -15 $pid