1

Modules/Waybar: Update workspace widget colors (empty/occupied/active/urgent)

This commit is contained in:
2026-03-23 00:20:59 +01:00
parent 554a76b585
commit b67aee2a64

View File

@ -111,11 +111,9 @@ in {
cpu = {
states = {
"warning" = 65;
"critical" = 85;
};
format = "<span></span> {load}%";
format-warning = "<span color='#${color.hex.peach}'><span></span> {load}%</span>";
format-critical = "<span color='#${color.hex.red}'><span></span> {load}%</span>";
on-click = "kitty --title=Btop btop";
tooltip = false;
@ -123,11 +121,9 @@ in {
memory = {
states = {
"warning" = 65;
"critical" = 85;
};
format = "<span></span> {percentage}%";
format-warning = "<span color='#${color.hex.peach}'><span></span> {percentage}%</span>";
format-critical = "<span color='#${color.hex.red}'><span></span> {percentage}%</span>";
on-click = "kitty --title=Btop btop";
tooltip = true;
@ -194,24 +190,26 @@ in {
}
/* Background colors */
#custom-launcher {background-color: #${color.hex.accent};}
#workspaces button {background-color: #${color.hex.lavender};}
#workspaces button.active {background-color: #${color.hex.pink};}
#window {background-color: #${color.hex.maroon};}
#systemd-failed-units {background-color: #${color.hex.red};}
#mpris {background-color: #${color.hex.accent};}
#privacy {background-color: #${color.hex.red};}
#pulseaudio {background-color: #${color.hex.maroon};}
#network {background-color: #${color.hex.peach};}
#disk {background-color: #${color.hex.yellow};}
#cpu {background-color: #${color.hex.green};}
#memory {background-color: #${color.hex.teal};}
#clock {background-color: #${color.hex.sky};}
#tray {background-color: #${color.hex.accent};}
#custom-launcher {background-color: #${color.hex.accent};}
#workspaces button {background-color: #${color.hex.blue};}
#workspaces button.empty {background-color: #${color.hex.lavender};}
#workspaces button.active {background-color: #${color.hex.green};}
#workspaces button.urgent {background-color: #${color.hex.red};}
#window {background-color: #${color.hex.maroon};}
#mpris {background-color: #${color.hex.accent};}
#privacy {background-color: #${color.hex.red};}
#pulseaudio {background-color: #${color.hex.maroon};}
#network {background-color: #${color.hex.peach};}
#disk {background-color: #${color.hex.yellow};}
#cpu {background-color: #${color.hex.green};}
#memory {background-color: #${color.hex.teal};}
#clock {background-color: #${color.hex.sky};}
#tray {background-color: #${color.hex.accent};}
/* Square Widgets */
#custom-launcher,
#systemd-failed-units,
#mpris,
#tray {
color: #${color.hex.mantle};
@ -260,10 +258,6 @@ in {
margin: 0px 5px 0px 0px;
}
#systemd-failed-units {
margin: 0px 5px 0px 0px;
}
#tray {
margin: 0px 0px 0px 5px;
}