@import "mocha.css"; * { /* `otf-font-awesome` is required to be installed for icons */ font-family: GoMono Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif; font-size: 13px; } window#waybar { background-color: @base; color: @text; transition-property: background-color; transition-duration: .5s; } window#waybar.hidden { opacity: 0.2; } /* window#waybar.empty { background-color: transparent; } window#waybar.solo { background-color: #FFFFFF; } */ 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: @mantle; color: @subtext0; } #workspaces button:hover { background: @surface0; } #workspaces button.focused { background-color: @surface1; box-shadow: inset 0 -3px @rosewater; } #workspaces button.urgent { background-color: @yellow; } #mode { background-color: #64727D; border-bottom: 3px solid #ffffff; } #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #wireplumber, #custom-media, #tray, #mode, #idle_inhibitor, #scratchpad, #mpd { padding: 0 10px; background-color: @surface1; color: @text; } #mpd { background-color: @sky; color: @crust; } #clock { background-color: @mauve; color: @crust; } #cpu { background-color: @green; color: @crust; } #memory { background-color: @pink; color: @crust; } #battery { background-color: @peach; color: @crust; } #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; } #battery.charging, #battery.plugged { color: @crust; background-color: @teal; } @keyframes blink { to { background-color: @crust; color: @red; } } #battery.critical:not(.charging) { background-color: @red; color: @crust; animation-name: blink; animation-duration: 0.5s; animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; } label:focus { background-color: #000000; } #temperature { background-color: @blue; color: @crust; } #temperature.critical { background-color: @red; }