{{- if eq .theme_variant "light" }} @import "latte.css"; {{- else if eq .theme_variant "dark" }} @import "macchiato.css"; {{- end }} * { font-family: "JetBrainsMono NF", "Berkely Mono"; font-size: 13px; } window#waybar { background-color: @base; color: @text; transition-property: background-color; transition-duration: 0.5s; } window#waybar.hidden { opacity: 0.2; } button { /* Use box-shadow instead of border so the text isn't offset */ box-shadow: inset 0 -3px transparent; border-radius: 0; } #workspaces button { padding: 0 5px; background-color: @surface0; margin: 5px 0; color: @text; } #workspaces button:hover { background: shade(@base, 0.8); } #workspaces button.active { background-color: @overlay0; } #workspaces button.urgent { background-color: @red; color: @base; } #workspaces button:first-child { border-radius: 12px 0 0 12px; } #workspaces button:last-child { border-radius: 0 12px 12px 0; } #clock, #battery, #cpu, #custom-beats, #custom-pending-updates, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #wireplumber, #custom-media, #tray, #mode, #idle_inhibitor, #scratchpad, #mpd { border-radius: 12px; padding: 3px 13px 3px 8px; margin: 5px 0; color: @text; background-color: @surface0; } #window, #workspaces { margin: 0 4px; } @keyframes blink { to { background-color: @base; } } #battery.critical:not(.charging) { background-color: @red; color: @base; animation-name: blink; animation-duration: 0.5s; animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; } #network.disconnected { background-color: @red; color: @base; } #temperature.critical { background-color: @red; color: @base; } #tray { padding-right: 9px; } #tray > .passive { -gtk-icon-effect: dim; } #tray > .needs-attention { -gtk-icon-effect: highlight; background-color: @red; color: @base; } #idle_inhibitor.activated { background-color: @pink; color: @base; }