dotfiles

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

commit 52d9140820d3e39446cb8414220c9bc5a052216c
parent 307f4089140a4bfa8b08a769e28524f0f9e0ae6a
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 30 May 2020 14:09:39 -0400

dumb fix

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 @@ -14,7 +14,7 @@ logfile="${XDG_CACHE_HOME:-$HOME/.cache}/netlog" 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)))" +txcurrent="$(($(paste -d '+' /sys/class/net/[ew]*/statistics/tx_bytes)))" printf "🔻%sKiB 🔺%sKiB\\n" \ "$(((rxcurrent-${prevdata%% *})/1024))" \