mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
8 lines
507 B
Bash
8 lines
507 B
Bash
echo "Remove misleading waybar network transfer speeds"
|
|
|
|
if grep -q "bandwidthDownBytes" ~/.config/waybar/config.jsonc; then
|
|
sed -i 's/"tooltip-format-wifi": "{essid} ({frequency} GHz)\\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}"/"tooltip-format-wifi": "{essid} ({frequency} GHz)"/' ~/.config/waybar/config.jsonc
|
|
sed -i 's/"tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}"/"tooltip-format-ethernet": "Connected"/' ~/.config/waybar/config.jsonc
|
|
omarchy-restart-waybar
|
|
fi
|