aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/newssync
blob: 0c0e866e03bea22269db2a222c800d455419cc74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

ping -q -c 1 1.1.1.1 > /dev/null || exit

. ~/.cache/sessionenv

touch ~/.cache/newssynclive
killall -42 waybar

newsboat -x reload || true

rm -f ~/.cache/newssynclive
killall -42 waybar