Files
dotfiles/waybar/style.css
2026-02-20 22:24:07 +01:00

152 lines
1.9 KiB
CSS

@define-color bg #1e1e2e;
@define-color accent #ffffff;
* {
min-height: 0;
min-width: 0;
font-family: "Lexend", "JetBrainsMono Nerd Font";
font-size: 13px;
font-weight: 400;
}
#workspaces {
background: transparent;
}
window#waybar {
min-height: 0;
background: transparent;
}
#window {
font-weight: 700;
}
#workspaces button {
padding-left: 8px;
padding-right: 0;
padding-top: 0;
padding-bottom: 0;
border: 0;
margin-left: 0;
margin-right: 4px;
min-height: 10px;
min-width: 24px;
border-radius: 6px;
background: alpha(@bg, 0.8);
transition:
all 180ms cubic-bezier(.4,0,.2,1),
color 800ms cubic-bezier(.4, 0, .2, 1);
color: grey;
}
#workspaces button label {
font-size: 20px;
letter-spacing: -2px;
}
#workspaces button:hover {
background: rgba(255,255,255,0.45);
background: alpha(@bg,0.8);
}
#workspaces button.active {
min-width: 34px;
background: white;
background: alpha(@bg,0.8);
color: white;
border: 2px solid alpha(grey, 0.2);
}
#workspaces button.visible {
background: alpha(@bg,0.8);
}
#workspaces button.urgent {
background: #ff5f5f;
}
#clock,
#pulseaudio,
#custom-logo,
#custom-power,
#custom-spotify,
#custom-notification,
#cpu,
#tray,
#memory,
#battery,
#network,
#window,
#mpris {
padding: 0.1rem 0.6rem;
margin: 0.1rem 0.25rem;
border-radius: 6px;
/* background-color: #181825; */
background-color: alpha(@bg, 0.6);
}
#mpris.playing {
color: #a6e3a1;
}
#mpris.paused {
color: #9399b2;
}
#custom-sep {
padding: 0px;
color: #585b70;
}
/*
#cpu {
color: #94e2d5;
}
#memory {
color: #cba6f7;
}
#clock {
color: #74c7ec;
}
#clock.simpleclock {
color: #89b4fa;
}
#pulseaudio {
color: #b4befe;
}
#pulseaudio.muted {
color: #a6adc8;
}
#custom-logo {
color: #89b4fa;
}
#custom-power {
color: #f38ba8;
}
#battery {
color: #94e2d5;
}
#battery.critical {
color: red;
}
tooltip {
background-color: #181825;
border: 2px solid #89b4fa;
}
*/