Network detect (#26)

This commit is contained in:
Alex
2018-08-17 14:24:00 +02:00
committed by GitHub
parent 0603b99714
commit d280f5e8bd
8 changed files with 274 additions and 20 deletions

View File

@ -30,8 +30,10 @@
"format-icons": ["", "", "", "", ""]
},
"network": {
"interface": "wlp2s0",
"format": "{essid} ({signalStrength}%) "
// "interface": "wlp2s0", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname} ",
"format-disconnected": "Disconnected ⚠"
},
"pulseaudio": {
"format": "{volume}% {icon}",

View File

@ -76,6 +76,10 @@ window {
background: #2980b9;
}
#network.disconnected {
background: #f53c3c;
}
#pulseaudio {
background: #f1c40f;
color: black;