From 350249a6f6a8409117dfcddfd33659d79c88cb04 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sat, 17 Feb 2024 00:21:52 -0600 Subject: [PATCH] Update waybar with traffic monitoring --- sericea/.config/waybar/config | 6 +++++- sericea/.config/waybar/style.css | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/sericea/.config/waybar/config b/sericea/.config/waybar/config index 57e35f65..ad59889a 100644 --- a/sericea/.config/waybar/config +++ b/sericea/.config/waybar/config @@ -3,7 +3,7 @@ "height": 40, "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": ["clock"], - "modules-right": ["pulseaudio", "backlight", "battery", "tray", "mpris", "idle_inhibitor"], + "modules-right": ["network", "pulseaudio", "backlight", "battery", "tray", "mpris", "idle_inhibitor"], "sway/workspaces": { "disable-scroll": true, "persistent_workspaces": { @@ -65,6 +65,10 @@ "stopped": "⏹" } }, + "network": { + "interval": 1, + "format": "{bandwidthUpBytes} {bandwidthDownBytes}" + }, "pulseaudio": { "scroll-step": 0, "format": "{icon} {volume}%", diff --git a/sericea/.config/waybar/style.css b/sericea/.config/waybar/style.css index dcffb00c..75518f52 100644 --- a/sericea/.config/waybar/style.css +++ b/sericea/.config/waybar/style.css @@ -61,6 +61,9 @@ window#waybar { background: #32302f; color: #282828; } +#network { + color: #ebdbb2; +} #idle_inhibitor { color: #282828; padding: 0 1em;