mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
newsboat icon moved to /tmp/
This commit is contained in:
parent
e9ddf54319
commit
fedd703787
@ -8,9 +8,9 @@ ping -q -t 1 -c 1 `ip r | grep -m 1 default | cut -d ' ' -f 3` >/dev/null || exi
|
||||
|
||||
pgrep -x newsboat >/dev/null && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name newsboat)" R && exit
|
||||
|
||||
echo 🔃 > ~/.config/newsboat/.update
|
||||
echo 🔃 > /tmp/newsupdate
|
||||
pkill -RTMIN+6 i3blocks
|
||||
/usr/bin/newsboat -x reload
|
||||
rm -f ~/.config/newsboat/.update
|
||||
rm -f /tmp/newsupdate
|
||||
pkill -RTMIN+6 i3blocks
|
||||
/usr/bin/notify-send -i "$PIX/rss.svg" "RSS feed update complete."
|
||||
|
||||
@ -15,4 +15,4 @@ case $BLOCK_BUTTON in
|
||||
<b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;;
|
||||
esac
|
||||
|
||||
cat ~/.config/newsboat/.update 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ print $1}' | sed s/^0$//g)$(cat ~/.config/newsboat/.update 2>/dev/null)"
|
||||
cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ print $1}' | sed s/^0$//g)$(cat ~/.config/newsboat/.update 2>/dev/null)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user