dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 66aaa1294c9b21ff5ed37575dc85c969ff5174f7
parent bbe1acb1788fb7b53fcc970a7709d30b2c23dfba
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun, 10 Mar 2019 17:55:19 -0400

newsboat icon moved to /tmp/

Diffstat:
M.scripts/cron/newsup | 4++--
M.scripts/statusbar/news | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.scripts/cron/newsup b/.scripts/cron/newsup @@ -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." diff --git a/.scripts/statusbar/news b/.scripts/statusbar/news @@ -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)"