feat: add pulseaudio module

This commit is contained in:
Alexis
2018-08-09 23:55:38 +02:00
parent 11fab436b9
commit 7ccb76935d
9 changed files with 167 additions and 19 deletions

View File

@ -1,6 +1,6 @@
{
"modules-left": ["workspaces"],
"modules-right": ["network", "cpu", "memory", "battery", "clock"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock"],
"cpu": {
"format": "{}% "
},
@ -13,5 +13,9 @@
"network": {
"interface": "wlp2s0",
"format": "{essid} ({signalStrength}dBm) "
},
"pulseaudio": {
"format": "{}% ",
"format-muted": ""
}
}

View File

@ -23,7 +23,7 @@ window {
border-bottom: 3px solid white;
}
.clock, .battery, .cpu, .memory, .network {
.clock, .battery, .cpu, .memory, .network, .pulseaudio {
padding: 0 10px;
margin: 0 5px;
}
@ -54,3 +54,8 @@ window {
.network {
background: #2980b9;
}
.pulseaudio {
background: #f1c40f;
color: black;
}