@import "macchiato.css"; * { /* `otf-font-awesome` is required to be installed for icons */ font-family: FiraCode Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif; font-size: 13px; } window#waybar { background-color: alpha(@base, 0); color: @text; transition-property: background-color; transition-duration: .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; /* Avoid rounded borders under each button name */ border: none; border-radius: 0; } /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ button:hover { background: inherit; box-shadow: inset 0 3px @rosewater; } #workspaces button { padding: 0 5px; background-color: transparent; color: @text; } #workspaces button:hover { background: rgba(0, 0, 0, 0.2); } #workspaces button.focused { background-color: @surface1; box-shadow: inset 0 3px @flamingo; } #workspaces button.urgent { background-color: @red; color: @mantle; } #mode { background-color: @surface1; border-top: 3px solid @rosewater; } #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #wireplumber, #custom-media, #tray, #mode, #idle_inhibitor, #scratchpad, #mpd { padding: 0 10px; color: @text; } #window, #workspaces { margin: 0 4px; } /* If workspaces is the leftmost module, omit left margin */ .modules-left > widget:first-child > #workspaces { margin-left: 0; } /* If workspaces is the rightmost module, omit right margin */ .modules-right > widget:last-child > #workspaces { margin-right: 0; } #clock { border-top: 3px solid @lavender; color: @lavender; } #battery { color: @blue; border-top: 3px solid @blue; padding-right: 18px; } #battery.charging, #battery.plugged { color: @surface0; background-color: @green; border-top: 0; padding-right: 11px; } @keyframes blink { to { background-color: #ffffff; color: #000000; } } #battery.critical:not(.charging) { background-color: #f53c3c; color: #ffffff; animation-name: blink; animation-duration: 0.5s; animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; } label:focus { background-color: #000000; } #cpu { border-top: 3px solid @peach; } #memory { border-top: 3px solid @peach; padding-right: 15px; } #disk { background-color: #964B00; } #backlight { border-top: 3px solid @peach; color: @peach; padding-right: 11px; } #network { border-top: 3px solid @yellow; color: @yellow; padding-right: 15px; } #network.disconnected { border-top: 3px solid @red; color: @red; } #pulseaudio { border-top: 3px solid @maroon; color: @maroon; } #pulseaudio.muted { border-top: 3px solid @flamingo; background-color: @flamingo; color: @mantle; } #temperature { border-top: 3px solid @teal; color: @teal; padding-right: 12px; } #temperature.critical { background-color: #eb4d4b; border-top: 3px solid #eb4d4b; color: #ffffff; } #tray { border-top: 3px solid @mauve; } #tray > .passive { -gtk-icon-effect: dim; } #tray > .needs-attention { -gtk-icon-effect: highlight; background-color: #eb4d4b; } #idle_inhibitor { border-top: 3px solid @mantle; padding-right: 14px; } #idle_inhibitor.activated { background-color: @text; color: @mantle; border-top: 3px solid @subtext0; } #language { color: @sapphire; padding: 0 5px; min-width: 16px; border-top: 3px solid @sapphire; } #scratchpad { background: @mantle; } #scratchpad.empty { background-color: transparent; }