Files
nixos/henrovnix_ok/assets/conf/desktop/waybar/style.css
T
2026-02-26 22:21:48 +01:00

107 lines
2.0 KiB
CSS

* {
font-family:
Aporetic Sans Mono,
Iosevka Nerd Font,
Roboto,
Helvetica,
Arial,
sans-serif;
font-size: 13px;
}
window#waybar {
background-color: @base;
color: @text;
transition-property: background-color;
border-bottom: 0px solid rgba(0, 0, 0, 0);
transition-duration: 0.5s;
}
#workspaces button {
padding: 0px 1px; /* vertical only */
min-width: 80px; /* ← controls width */
background-color: transparent;
color: @text;
border: 1px solid @green; /* visible border */
border-radius: 10px; /* makes it ellipse */
}
#workspaces button:hover {
background: @surface1;
color: @text;
}
#workspaces button.active {
background-color: rgba(255, 255, 255, 0.25);
color: @base;
box-shadow: inset 0 -3px @subtext1;
}
#clock,
#idle_inhibitor,
#battery,
#cpu,
#memory,
#temperature,
#network,
#pulseaudio,
#tray {
margin: 0 5px;
padding: 0 2px;
}
#idle_inhibitor.activated {
background-color: @green;
}
#battery.charging {
color: @green;
}
@keyframes blink {
to {
background-color: #ffffff;
color: black;
}
}
#battery.warning:not(.charging) {
color: white;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#window,
#workspaces {
margin: 0 4px;
}
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#network.disconnected {
background-color: @red;
}
#temperature.critical {
background-color: @red;
}
#custom-hyprscroll_overflow.overflow {
padding: 0px 1px; /* vertical only */
min-width: 80px; /* ← controls width */
background-color: rgba(255, 255, 255, 0.25);
color: @text;
border: 1px $blue $green 45deg; /* visible border */
border-radius: 10px; /* makes it ellipse */
font-weight: bold;
}