dotfiles

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

commit 307f4089140a4bfa8b08a769e28524f0f9e0ae6a
parent d8272650bd675011496b4825160510109e47bba5
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 30 May 2020 11:41:40 -0400

Merge branch 'narukeh-patch-1'

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

diff --git a/.local/bin/statusbar/nettraf b/.local/bin/statusbar/nettraf @@ -11,7 +11,7 @@ case "$BLOCK_BUTTON" in esac logfile="${XDG_CACHE_HOME:-$HOME/.cache}/netlog" -prevdata="$(cat "$logfile")" +prevdata="$(cat "$logfile")" || echo "0 0" > "$logfile" rxcurrent="$(($(paste -d '+' /sys/class/net/[ew]*/statistics/rx_bytes)))" txcurrent="$(($(paste -d '+' /sys/class/net/[^lo]*/statistics/tx_bytes)))"