dotfiles

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

commit 88cc9e6c42d1b8b88b7787ad08eb3084fb6422b7
parent 5dbff5988208577d204d96045c161d872d29c2e1
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 30 May 2020 20:38:08 -0400

still needed in some cases

Diffstat:
M.local/bin/statusbar/nettraf | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/.local/bin/statusbar/nettraf b/.local/bin/statusbar/nettraf @@ -11,6 +11,7 @@ case "$BLOCK_BUTTON" in esac logfile="${XDG_CACHE_HOME:-$HOME/.cache}/netlog" +[ -f "$logfile" ] || echo "0 0" > "$logfile" read -r rxprev txprev < "$logfile" rxcurrent="$(($(paste -d '+' /sys/class/net/[ew]*/statistics/rx_bytes)))"