After I logged into the main PC, the waybar icons were barely visible due to the borderline transparent icons. I increased the opaqueness of the widgets themselves while keeping the rest of the bar transparent, so I can keep the clean look while still being able to see what the hell is going on.
239 lines
6.3 KiB
CSS
239 lines
6.3 KiB
CSS
/* ============================================================
|
|
WAYBAR STYLE — Dark Industrial / Refined Utility
|
|
Palette: deep charcoal base, amber accents, cool greys
|
|
============================================================ */
|
|
|
|
/* ── Root Variables ───────────────────────────────────────── */
|
|
* {
|
|
font-family: "JetBrainsMono Nerd Font Propo";
|
|
font-size: 13px;
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* ── Bar ──────────────────────────────────────────────────── */
|
|
window#waybar {
|
|
background: rgba(10, 10, 14, 0);
|
|
color: #dcdce8;
|
|
}
|
|
|
|
/* ── Tooltip ──────────────────────────────────────────────── */
|
|
tooltip {
|
|
background: #0e0e12;
|
|
border: 1px solid rgba(255, 180, 60, 0.35);
|
|
color: #dcdce8;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
tooltip label {
|
|
color: #dcdce8;
|
|
}
|
|
|
|
/* ── Shared Module Base ───────────────────────────────────── */
|
|
#clock,
|
|
#cpu,
|
|
#memory,
|
|
#pulseaudio,
|
|
#bluetooth,
|
|
#battery,
|
|
#tray,
|
|
#custom-micmute,
|
|
#custom-power {
|
|
padding: 6px 12px;
|
|
margin: 5px 0;
|
|
color: #dcdce8;
|
|
background: rgba(10, 10, 14, 0.3);
|
|
transition: color 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
/* ── Separator dots between modules ──────────────────────── */
|
|
#cpu,
|
|
#memory,
|
|
#pulseaudio,
|
|
#bluetooth,
|
|
#custom-micmute,
|
|
#battery {
|
|
border-left: 1px solid rgba(255, 255, 255, 0);
|
|
}
|
|
|
|
|
|
/* ═══════════════════════════════════════════════════════════
|
|
LEFT — System Info: Clock · CPU · Memory
|
|
═══════════════════════════════════════════════════════════ */
|
|
|
|
#clock {
|
|
font-family: "JetBrainsMono Nerd Font Propo";
|
|
font-weight: 400;
|
|
font-size: 12.5px;
|
|
color: #f0de9c;
|
|
letter-spacing: 0.04em;
|
|
padding-left: 0.4em;
|
|
border-left: 3px solid rgba(255, 180, 60, 0.3);
|
|
margin-left: 8px;
|
|
}
|
|
|
|
#cpu {
|
|
color: #b8d8ee;
|
|
}
|
|
|
|
#cpu:hover {
|
|
color: #d8f0ff;
|
|
background: rgba(160, 196, 216, 0.14);
|
|
}
|
|
|
|
#memory {
|
|
color: #b0d4be;
|
|
}
|
|
|
|
#memory:hover {
|
|
color: #ceeede;
|
|
background: rgba(157, 191, 173, 0.14);
|
|
}
|
|
|
|
|
|
/* ═══════════════════════════════════════════════════════════
|
|
CENTER — Workspaces
|
|
═══════════════════════════════════════════════════════════ */
|
|
|
|
#workspaces {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
#workspaces button {
|
|
font-family: 'JetBrains Nerd Font Propo';
|
|
font-size: 12px;
|
|
padding: 2px 10px;
|
|
margin: 4px 2px;
|
|
color: #6e6e88;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid transparent;
|
|
border-radius: 3px;
|
|
transition: all 0.15s ease;
|
|
min-width: 32px;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
color: #c0c0d8;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
#workspaces button.active {
|
|
color: #f0c060;
|
|
background: rgba(255, 180, 60, 0.14);
|
|
border-color: rgba(255, 180, 60, 0.5);
|
|
font-weight: 600;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
color: #f08080;
|
|
background: rgba(240, 80, 80, 0.15);
|
|
border-color: rgba(240, 80, 80, 0.45);
|
|
}
|
|
|
|
|
|
/* ═══════════════════════════════════════════════════════════
|
|
RIGHT — Audio · Bluetooth · Mic · Battery · Power
|
|
═══════════════════════════════════════════════════════════ */
|
|
|
|
/* ── Tray ─────────────────────────────────────────────────── */
|
|
#tray {
|
|
padding: 2px 10px;
|
|
}
|
|
|
|
#tray > .passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
#tray > .needs-attention {
|
|
-gtk-icon-effect: highlight;
|
|
background-color: rgba(240, 120, 60, 0.25);
|
|
}
|
|
|
|
/* ── Audio ────────────────────────────────────────────────── */
|
|
#pulseaudio {
|
|
color: #c4bce8;
|
|
}
|
|
|
|
#pulseaudio:hover {
|
|
color: #e0d8ff;
|
|
background: rgba(176, 168, 216, 0.14);
|
|
}
|
|
|
|
/* ── Bluetooth ────────────────────────────────────────────── */
|
|
#bluetooth {
|
|
color: #90c8f0;
|
|
}
|
|
|
|
#bluetooth.connected {
|
|
color: #70d8ff;
|
|
}
|
|
|
|
#bluetooth:hover {
|
|
background: rgba(128, 184, 224, 0.14);
|
|
}
|
|
|
|
/* ── Microphone Mute ──────────────────────────────────────── */
|
|
#custom-micmute {
|
|
color: #b0d4be;
|
|
}
|
|
|
|
#custom-micmute.muted {
|
|
color: #585870;
|
|
}
|
|
|
|
#custom-micmute:hover {
|
|
background: rgba(157, 191, 173, 0.14);
|
|
}
|
|
|
|
/* ── Battery ──────────────────────────────────────────────── */
|
|
#battery {
|
|
color: #b8dc98;
|
|
}
|
|
|
|
#battery.charging,
|
|
#battery.plugged {
|
|
color: #d4f098;
|
|
}
|
|
|
|
#battery.warning:not(.charging) {
|
|
color: #eecb68;
|
|
}
|
|
|
|
#battery.critical:not(.charging) {
|
|
color: #f07060;
|
|
animation: battery-pulse 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes battery-pulse {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.4;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
#battery:hover {
|
|
background: rgba(168, 204, 136, 0.14);
|
|
}
|
|
|
|
/* ── Power Button ─────────────────────────────────────────── */
|
|
#custom-power {
|
|
color: #d07070;
|
|
font-size: 14px;
|
|
padding: 2px 14px 2px 12px;
|
|
margin-right: 8px;
|
|
border-left: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
#custom-power:hover {
|
|
color: #f09090;
|
|
background: rgba(200, 60, 60, 0.2);
|
|
}
|