314 lines
7.7 KiB
CSS
314 lines
7.7 KiB
CSS
/*
|
|
[2026-04-08 23:02:41.445] [debug] GTK widget tree:
|
|
window#waybar.background.top..mode-default.DP-1:dir(ltr)
|
|
decoration:dir(ltr)
|
|
box.horizontal:dir(ltr)
|
|
box.horizontal.modules-left:dir(ltr)
|
|
box.horizontal.modules-center:dir(ltr)
|
|
widget:dir(ltr)
|
|
box#connections.horizontal:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#custom-connections-anchor.module:dir(ltr)
|
|
revealer.drawer:dir(ltr)
|
|
box.horizontal:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#custom-bluetooth.module:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#network.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
box#workspaces.horizontal.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#custom-windows.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
box#hardware.horizontal:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#custom-hardware-anchor.module:dir(ltr)
|
|
revealer.drawer:dir(ltr)
|
|
box.horizontal:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#battery.module:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#cpu.module:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#memory.module:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#temperature.module:dir(ltr)
|
|
box.horizontal.modules-right:dir(ltr)
|
|
widget:dir(ltr)
|
|
scale#pulseaudio-slider.horizontal.module:dir(ltr)
|
|
contents
|
|
trough:dir(ltr)
|
|
slider:dir(ltr)
|
|
highlight.top:dir(ltr)
|
|
widget:dir(ltr)
|
|
box#tray.horizontal.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#clock.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#idle_inhibitor.module:dir(ltr)
|
|
|
|
[2026-04-08 23:02:41.448] [debug] GTK widget tree:
|
|
window#waybar.background.top.eDP-1..mode-default:dir(ltr)
|
|
decoration:dir(ltr)
|
|
box.horizontal:dir(ltr)
|
|
box.horizontal.modules-left:dir(ltr)
|
|
box.horizontal.modules-center:dir(ltr)
|
|
widget:dir(ltr)
|
|
box#connections.horizontal:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#custom-connections-anchor.module:dir(ltr)
|
|
revealer.drawer:dir(ltr)
|
|
box.horizontal:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#custom-bluetooth.module:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#network.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
box#workspaces.horizontal.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#custom-windows.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
box#hardware.horizontal:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#custom-hardware-anchor.module:dir(ltr)
|
|
revealer.drawer:dir(ltr)
|
|
box.horizontal:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#battery.module:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#cpu.module:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#memory.module:dir(ltr)
|
|
widget.drawer-child:dir(ltr)
|
|
label#temperature.module:dir(ltr)
|
|
box.horizontal.modules-right:dir(ltr)
|
|
widget:dir(ltr)
|
|
scale#pulseaudio-slider.horizontal.module:dir(ltr)
|
|
contents
|
|
trough:dir(ltr)
|
|
slider:dir(ltr)
|
|
highlight.top:dir(ltr)
|
|
widget:dir(ltr)
|
|
box#tray.horizontal.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#clock.module:dir(ltr)
|
|
widget:dir(ltr)
|
|
label#idle_inhibitor.module:dir(ltr)
|
|
*/
|
|
|
|
|
|
/* === Catppuccin Mocha Palette === */
|
|
|
|
/* Background / Base */
|
|
@define-color crust #11111b;
|
|
@define-color mantle #181825;
|
|
@define-color base #1e1e2e;
|
|
@define-color base-alpha rgba(30, 30, 46, 0.9);
|
|
|
|
/* 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 {
|
|
min-width: 80px;
|
|
color: @text;
|
|
font-weight: bold;
|
|
border-radius:30px;
|
|
background:
|
|
linear-gradient(@base-alpha, @base-alpha) padding-box,
|
|
linear-gradient(45deg, @blue, @green) border-box;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.modules-center > box + box {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.modules-center > widget label {
|
|
padding: 0 5px;
|
|
transition: padding 0.2s ease;
|
|
}
|
|
|
|
.modules-center > label {
|
|
padding: 0px 5px;
|
|
transition: padding 0.2s ease;
|
|
}
|
|
|
|
.modules-right > widget {
|
|
min-width: 80px;
|
|
color: @text;
|
|
font-weight: bold;
|
|
border-radius:30px;
|
|
background:
|
|
linear-gradient(@base-alpha, @base-alpha) padding-box,
|
|
linear-gradient(45deg, @blue, @green) border-box;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.modules-right > box + box {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.modules-right > widget label {
|
|
padding: 0px 5px;
|
|
transition: padding 0.2s ease;
|
|
}
|
|
|
|
.modules-right > label {
|
|
padding: 0px 5px;
|
|
transition: padding 0.2s ease;
|
|
}
|
|
|
|
|
|
/* --- hiding window counter --- */
|
|
|
|
#custom-windows {
|
|
opacity: 0;
|
|
min-width: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
transition: opacity 0.2s ease, min-width 0.2s ease;
|
|
}
|
|
|
|
/* Show it when active */
|
|
#custom-windows.active {
|
|
opacity: 0.5;
|
|
font-weight: normal;
|
|
font-size: 12px;
|
|
min-width: 30px;
|
|
padding: 0 3px;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
/* --- Group specifics --- */
|
|
|
|
#hardware:hover #custom-hardware-anchor {
|
|
opacity: 0;
|
|
min-width: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
transition: opacity 0.2s ease, width 0.2s ease;
|
|
}
|
|
|
|
#connections:hover #custom-connections-anchor {
|
|
opacity: 0;
|
|
min-width: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
transition: opacity 0.2s ease, width 0.2s ease;
|
|
}
|
|
|
|
#clock,
|
|
#idle_inhibitor,
|
|
#battery,
|
|
#cpu,
|
|
#memory,
|
|
#temperature,
|
|
#network,
|
|
#pulseaudio,
|
|
#tray {
|
|
margin: 0 5px;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
#pulseaudio-slider {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
#pulseaudio-slider slider {
|
|
min-height: 0px;
|
|
min-width: 0px;
|
|
opacity: 0.;
|
|
border-radius: 30px;
|
|
background: linear-gradient(45deg, @blue, @green);
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
#pulseaudio-slider trough {
|
|
min-height: 10px;
|
|
min-width: 80px;
|
|
border-radius: 30px;
|
|
background: transparent;
|
|
}
|
|
#pulseaudio-slider highlight {
|
|
min-width: 10px;
|
|
border-radius: 30px;
|
|
background: linear-gradient(45deg, @blue, @green);
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
/* --------------------------------------------------------- */
|
|
/* 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;
|
|
}
|