Files
nixos/Droidnix/generated/.config/waybar/style.css
T
2026-04-05 20:49:25 +02:00

162 lines
3.2 KiB
CSS

/* === Catppuccin Mocha Palette === */
/* Background / Base */
@define-color crust #11111b;
@define-color mantle #181825;
@define-color base #1e1e2e;
/* Surface */
@define-color surface0 #313244;
@define-color surface1 #45475a;
@define-color surface2 #585b70;
/* Overlays */
@define-color overlay0 #6c7086;
@define-color overlay1 #7f849c;
@define-color overlay2 #9399b2;
/* Subtext & Text */
@define-color subtext0 #a6adc8;
@define-color subtext1 #bac2de;
@define-color text #cdd6f4;
/* Accents */
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
/* --- Global --- */
* {
font-family:
Aporetic Sans Mono,
Iosevka Nerd Font,
Roboto,
Helvetica,
Arial,
sans-serif;
font-size: 13px;
}
window#waybar {
background-color: transparent;
color: @text;
}
.modules-center > widget {
/* this makes ALL center modules share space */
}
#custom-spacer {
min-width: 50px;
padding: 0;
margin: 0;
background: transparent;
border: transparent;
}
/* --- Pill --- */
/* common pill style */
.pill {
padding: 0px 1px;
min-width: 80px;
color: @text;
border-radius: 10px;
font-weight: bold;
border: 1px solid @teal; /* transparent border to preserve spacing */
background: transparent; /* fake border via layered background */
}
/* center expanded content */
.pill revealer > box {
padding-left: 10px;
padding-right: 10px;
}
/* center collapsed (first visible module) */
.pill > widget {
padding-left: 10px;
padding-right: 10px;
}
/* spacing between items */
.pill revealer > box > widget {
margin: 0 5px;
}
workspaces button {
padding: 0px 1px;
min-width: 80px;
background-color: transparent;
color: @text;
border: 2px solid @inactive;
border-radius: 10px;
}
workspaces button:hover {
background-color: @surface1;
}
workspaces button.active {
font-weight: bold;
border: 1px solid transparent;
background:
linear-gradient(rgba(255, 255, 255, 0.15),
rgba(255, 255, 255, 0.15)) padding-box,
linear-gradient(45deg, @blue, @green) border-box;
}
#clock,
#idle_inhibitor,
#battery,
#cpu,
#memory,
#temperature,
#network,
#pulseaudio,
#tray {
margin: 0 5px;
padding: 0 2px;
}
/* --------------------------------------------------------- */
/* STATES */
/* --------------------------------------------------------- */
#idle_inhibitor.activated {
background-color: @green;
}
#battery.charging {
color: @green;
}
#battery.warning:not(.charging) {
color: white;
animation: blink 0.5s linear infinite alternate;
}
@keyframes blink {
to {
background-color: #ffffff;
color: black;
}
}
#network.disconnected {
background-color: @red;
}
#temperature.critical {
background-color: @red;
}