Add network disconnection thing, move network to left of bottom bar
This commit is contained in:
parent
0ebebaad1a
commit
c296f4136a
@ -33,9 +33,9 @@
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"height": 40,
|
||||
"modules-left": ["idle_inhibitor", "gamemode", "cpu", "memory", "custom/backup", "battery", "mpris"],
|
||||
"modules-left": ["idle_inhibitor", "gamemode", "cpu", "memory", "custom/backup", "battery", "network"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["network", "pulseaudio", "backlight", "clock"],
|
||||
"modules-right": ["mpris", "pulseaudio", "backlight", "clock"],
|
||||
"clock": {
|
||||
"format": "{:%a %b %d %I:%M %p}",
|
||||
"format-alt": "{:%Y-%m-%d}",
|
||||
@ -43,7 +43,8 @@
|
||||
},
|
||||
"network": {
|
||||
"interval": 1,
|
||||
"format": " {bandwidthUpBytes} {bandwidthDownBytes}"
|
||||
"format": " {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-disconnected": ""
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
|
@ -71,10 +71,15 @@ window#waybar {
|
||||
#mpris.paused, #mpris.stopped {
|
||||
color: #504945;
|
||||
}
|
||||
|
||||
#network {
|
||||
padding: 0 1em;
|
||||
color: #504945;
|
||||
}
|
||||
#network.disconnected {
|
||||
color: #fb4934;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
padding: 0 1em;
|
||||
}
|
||||
@ -84,6 +89,7 @@ window#waybar {
|
||||
#idle_inhibitor.activated {
|
||||
color: #fb4934;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
padding: 0 1em;
|
||||
color: #ebdbb2;
|
||||
|
Loading…
Reference in New Issue
Block a user