mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
feat: add network module
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"modules-left": ["workspaces"],
|
||||
"modules-right": ["cpu", "memory", "battery", "clock"],
|
||||
"modules-right": ["network", "cpu", "memory", "battery", "clock"],
|
||||
"cpu": {
|
||||
"format": "{}% "
|
||||
},
|
||||
@@ -9,5 +9,9 @@
|
||||
},
|
||||
"battery": {
|
||||
"format": "{}% "
|
||||
},
|
||||
"network": {
|
||||
"interface": "wlp2s0",
|
||||
"format": "{} "
|
||||
}
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@ window {
|
||||
border-bottom: 3px solid white;
|
||||
}
|
||||
|
||||
.clock, .battery, .cpu, .memory {
|
||||
.clock, .battery, .cpu, .memory, .network {
|
||||
padding: 0 10px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
@@ -50,3 +50,7 @@ window {
|
||||
.memory {
|
||||
background: #9b59b6;
|
||||
}
|
||||
|
||||
.network {
|
||||
background: #2980b9;
|
||||
}
|
||||
|
Reference in New Issue
Block a user