summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/sb-nettraf
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/sb-nettraf')
-rwxr-xr-x.local/bin/statusbar/sb-nettraf6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/statusbar/sb-nettraf b/.local/bin/statusbar/sb-nettraf
index eb7a73b..68bf812 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 "🔻%4sB 🔺%4sB\\n" $(numfmt --to=iec $rx) $(numfmt --to=iec $tx)
+printf " %4sB  %4sB\\n" $(numfmt --to=iec $rx) $(numfmt --to=iec $tx)