mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
waybar: configure battery states and fix colors
This commit is contained in:
parent
0bf0a49597
commit
27a6719e91
@ -22,7 +22,11 @@
|
|||||||
"format-bluetooth": "🔈 {volume}%"
|
"format-bluetooth": "🔈 {volume}%"
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "🔋 {capacity}%"
|
"states": {
|
||||||
|
"warning": 40,
|
||||||
|
"critical": 20
|
||||||
|
},
|
||||||
|
"format": "🔋 {capacity}%",
|
||||||
},
|
},
|
||||||
"sway/language": {
|
"sway/language": {
|
||||||
"format": "⌨ {short} {variant}",
|
"format": "⌨ {short} {variant}",
|
||||||
|
@ -49,7 +49,7 @@ tooltip label {
|
|||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
background-color: #103c48;
|
background-color: #103c48;
|
||||||
color: black;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.charging {
|
#battery.charging {
|
||||||
@ -60,7 +60,7 @@ tooltip label {
|
|||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
to {
|
to {
|
||||||
background-color: #103c48;
|
background-color: #103c48;
|
||||||
color: black;
|
color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user