Update waybar with traffic monitoring

This commit is contained in:
Salt 2024-02-17 00:21:52 -06:00
parent 9ae5d2ca36
commit 350249a6f6
2 changed files with 8 additions and 1 deletions

View File

@ -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}%",

View File

@ -61,6 +61,9 @@ window#waybar {
background: #32302f;
color: #282828;
}
#network {
color: #ebdbb2;
}
#idle_inhibitor {
color: #282828;
padding: 0 1em;