battery colour

This commit is contained in:
rileyrg 2021-05-25 17:57:06 +02:00
parent 2df33288aa
commit 7edb9ca578
3 changed files with 18 additions and 18 deletions

View file

@ -54,12 +54,12 @@
"warning": 20,
"critical": 10
},
"format": "<span color='#e88939'>{icon}</span> {capacity}%",
"format": "<span color='gold'>{icon}</span> {capacity}%",
"format-charging": "<span color='#e88939'> </span> {capacity}% ({time})",
"format-plugged": "<span color='#e88939'>{icon}  </span> {capacity}%",
"format-charging": "<span color='gold'> </span> {capacity}% ({time})",
"format-plugged": "<span color='gold'>{icon}  </span> {capacity}%",
// "format-good": "", // An empty format will hide the module
"format-discharging": "<span color='#e88939'>{icon}</span> {capacity}% ({time})",
"format-discharging": "<span color='yellow'>{icon}</span> {capacity}% ({time})",
"format-icons": ["", "", "", "", ""]
},
@ -154,7 +154,7 @@
},
"custom/bluetooth": {
"format": "<span color='cyan'>{}</span>",
"format": "<span color='blue'>{}</span>",
"interval": 30,
"exec": "waybar-bluetooth",
"tooltip": "false",

View file

@ -76,10 +76,6 @@
border-bottom-left-radius: 10px;
}
#battery,#battery_icon,#battery.charging {
color:green
}
@keyframes blink {
to {
background-color: #af005f;
@ -98,6 +94,10 @@
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery,#battery_icon,#battery.charging {
color:gold
}
#cpu {
}

View file

@ -1653,12 +1653,12 @@ https://github.com/Alexays/Waybar/wiki/Configuration
"warning": 20,
"critical": 10
},
"format": "<span color='#e88939'>{icon}</span> {capacity}%",
"format": "<span color='gold'>{icon}</span> {capacity}%",
"format-charging": "<span color='#e88939'> </span> {capacity}% ({time})",
"format-plugged": "<span color='#e88939'>{icon}  </span> {capacity}%",
"format-charging": "<span color='gold'> </span> {capacity}% ({time})",
"format-plugged": "<span color='gold'>{icon}  </span> {capacity}%",
// "format-good": "", // An empty format will hide the module
"format-discharging": "<span color='#e88939'>{icon}</span> {capacity}% ({time})",
"format-discharging": "<span color='yellow'>{icon}</span> {capacity}% ({time})",
"format-icons": ["", "", "", "", ""]
},
@ -1753,7 +1753,7 @@ https://github.com/Alexays/Waybar/wiki/Configuration
},
"custom/bluetooth": {
"format": "<span color='cyan'>{}</span>",
"format": "<span color='blue'>{}</span>",
"interval": 30,
"exec": "waybar-bluetooth",
"tooltip": "false",
@ -1852,10 +1852,6 @@ https://github.com/Alexays/Waybar/wiki/Configuration
border-bottom-left-radius: 10px;
}
#battery,#battery_icon,#battery.charging {
color:green
}
@keyframes blink {
to {
background-color: #af005f;
@ -1874,6 +1870,10 @@ https://github.com/Alexays/Waybar/wiki/Configuration
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery,#battery_icon,#battery.charging {
color:gold
}
#cpu {
}