diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-09 20:07:10 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-09 20:07:10 +0100 |
commit | b3fdb09a1c512738fbe42aefb80a92b4560a5677 (patch) | |
tree | ea7d4736c323646707e33eaa3589ff321df2f622 /.local/bin/statusbar/sb-nettraf | |
parent | bec891dac2cc69a75e4c5d273b4a1f3893f5b14b (diff) |
Update icons for statusbar scripts
Diffstat (limited to '.local/bin/statusbar/sb-nettraf')
-rwxr-xr-x | .local/bin/statusbar/sb-nettraf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/statusbar/sb-nettraf b/.local/bin/statusbar/sb-nettraf index 132d8bf..9cf88b3 100755 --- a/.local/bin/statusbar/sb-nettraf +++ b/.local/bin/statusbar/sb-nettraf @@ -6,8 +6,8 @@ case $BLOCK_BUTTON in 1) setsid -f "$TERMINAL" -e bmon ;; - 3) notify-send "🌐 Network traffic module" ": Traffic received -: Traffic transmitted" ;; + 3) notify-send " Network traffic module" ": Traffic received +: Traffic transmitted" ;; 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac @@ -26,4 +26,4 @@ update() { rx=$(update /sys/class/net/[ew]*/statistics/rx_bytes) tx=$(update /sys/class/net/[ew]*/statistics/tx_bytes) -printf "Net: %4sB %4sB\\n" $(numfmt --to=iec $rx) $(numfmt --to=iec $tx) +printf " %4sB %4sB\\n" $(numfmt --to=iec $rx) $(numfmt --to=iec $tx) |