diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-03-10 17:55:19 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-03-10 17:55:19 -0400 |
| commit | 66aaa1294c9b21ff5ed37575dc85c969ff5174f7 (patch) | |
| tree | 75da751327cd75c830bdfb096ecd11e9a54cf445 /.scripts | |
| parent | bbe1acb1788fb7b53fcc970a7709d30b2c23dfba (diff) | |
| download | eibhear-66aaa1294c9b21ff5ed37575dc85c969ff5174f7.tar.gz eibhear-66aaa1294c9b21ff5ed37575dc85c969ff5174f7.tar.zst eibhear-66aaa1294c9b21ff5ed37575dc85c969ff5174f7.zip | |
newsboat icon moved to /tmp/
Diffstat (limited to '.scripts')
| -rwxr-xr-x | .scripts/cron/newsup | 4 | ||||
| -rwxr-xr-x | .scripts/statusbar/news | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.scripts/cron/newsup b/.scripts/cron/newsup index 32f6a37..725ccb1 100755 --- 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 index 3c471a0..6c19d53 100755 --- 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)" |
