Fix css syntax, add disk states
This commit is contained in:
parent
3cde9c3d03
commit
ba20ff337f
2 changed files with 8 additions and 6 deletions
|
@ -105,7 +105,11 @@
|
|||
"disk#{{ disk }}": {
|
||||
"path": "{{ disk }}",
|
||||
"format": "{{ disk }} {free}",
|
||||
"tooltip-format": "{used} / {total} ({percentage_used}%)"
|
||||
"tooltip-format": "{used} / {total} ({percentage_used}%)",
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
{% endfor %}
|
||||
|
||||
|
|
|
@ -36,12 +36,13 @@ window#waybar {
|
|||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.module {
|
||||
.module, #network.disconnected {
|
||||
padding: 0 5px;
|
||||
margin: 4px 0;
|
||||
background: @base01;
|
||||
border-radius: 6px;
|
||||
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
|
@ -53,7 +54,7 @@ window#waybar {
|
|||
}
|
||||
|
||||
|
||||
#wireplumber.muted #network.disabled .warning {
|
||||
#wireplumber.muted, #network.disabled, .warning {
|
||||
box-shadow: 0 -3px 0 @base0A;
|
||||
}
|
||||
|
||||
|
@ -64,6 +65,3 @@ window#waybar {
|
|||
#network {
|
||||
box-shadow: 0 -3px 0 @base0B;
|
||||
}
|
||||
#network.disconnected {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue