fix: no colors set for cpu, mem or temp on waybar

This commit is contained in:
2024-12-04 20:15:55 +05:00
parent 86045019ba
commit 5936339588
2 changed files with 62 additions and 48 deletions

View File

@@ -18,7 +18,6 @@
"cpu", "cpu",
"memory", "memory",
"temperature", "temperature",
"keyboard-state",
"battery", "battery",
"clock", "clock",
"tray" "tray"
@@ -43,7 +42,7 @@
"keyboard-state": { "keyboard-state": {
"numlock": true, "numlock": true,
"capslock": true, "capslock": true,
"format": "{name} {icon}", "format": "{name} {icon} ",
"format-icons": { "format-icons": {
"locked": "", "locked": "",
"unlocked": "" "unlocked": ""

View File

@@ -13,7 +13,7 @@ window#waybar {
color: @overlay0; color: @overlay0;
transition-property: background-color; transition-property: background-color;
transition-duration: 0.1s; transition-duration: 0.1s;
border-bottom: 1px solid @overlay1; border-bottom: 1px solid @overlay1;
} }
#window { #window {
@@ -75,6 +75,21 @@ button:hover {
padding-right: 4px; padding-right: 4px;
} }
#cpu {
color: @mauve;
border-bottom: 2px solid @mauve;
}
#memory {
color: @teal;
border-bottom: 2px solid @teal;
}
#temperature {
color: @red;
border-bottom: 2px solid @red;
}
#clock { #clock {
color: @maroon; color: @maroon;
border-bottom: 2px solid @maroon; border-bottom: 2px solid @maroon;