@import "mocha.css"; * { font-family: 'Noto Sans Mono', 'Font Awesome 6 Free', 'Font Awesome 6 Brands', monospace; font-size: 13px; } window#waybar { background-color: @base; border-bottom: 3px solid @overlay0; 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: @base; } window#waybar.termite { background-color: @surface0; } window#waybar.chromium { background-color: @crust; border: none; } 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 @overlay1; } /* you can set a style on hover for any module like this */ #pulseaudio:hover { background-color: @overlay2; } #workspaces button { padding: 0 5px; background-color: transparent; color: @text; } #workspaces button:hover { background: @overlay2; } #workspaces button.focused { background-color: @overlay1; box-shadow: inset 0 -3px @overlay2; } #workspaces button.urgent { background-color: @red; } #mode { background-color: @overlay2; box-shadow: inset 0 -3px @overlay2; } #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #wireplumber, #custom-media, #tray, #mode, #idle_inhibitor, #scratchpad, #power-profiles-daemon, #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 { background-color: @sapphire; color: @crust; } #battery { background-color: @rosewater; color: @crust; } #battery.charging, #battery.plugged { color: @text; background-color: @green; } @keyframes blink { to { background-color: @rosewater; color: @crust; } } /* Using steps() instead of linear as a timing function to limit cpu usage */ #battery.critical:not(.charging) { background-color: @red; color: @text; animation-name: blink; animation-duration: 0.5s; animation-timing-function: steps(12); animation-iteration-count: infinite; animation-direction: alternate; } #power-profiles-daemon { padding-right: 15px; } #power-profiles-daemon.performance { background-color: @red; color: @text; } #power-profiles-daemon.balanced { background-color: @blue; color: @text; } #power-profiles-daemon.power-saver { background-color: @teal; color: @crust; } label:focus { background-color: @crust; } #cpu { background-color: @green; color: @crust; } #memory { background-color: @mauve; color: @base; } #disk { background-color: @peach; } #backlight { background-color: @teal; } #network { background-color: @surface2; } #network.disconnected { background-color: @red; } #pulseaudio { background-color: @yellow; color: @crust; } #pulseaudio.muted { background-color: @flamingo; color: @teal; } #wireplumber { background-color: @rosewater; color: @crust; } #wireplumber.muted { background-color: @red; } #custom-media { background-color: @sapphire; color: @mantle; min-width: 100px; } #custom-media.custom-spotify { background-color: @green; } #custom-media.custom-vlc { background-color: @yellow; } #temperature { background-color: @peach; } #temperature.critical { background-color: @maroon; } #tray { background-color: @blue; } #tray > .passive { -gtk-icon-effect: dim; } #tray > .needs-attention { -gtk-icon-effect: highlight; background-color: @red; } #idle_inhibitor { background-color: @base; } #idle_inhibitor.activated { background-color: @flamingo; color: @base; } #mpd { background-color: @green; color: @surface0; } #mpd.disconnected { background-color: @red; } #mpd.stopped { background-color: @teal; } #mpd.paused { background-color: @sapphire; } #language { background: @green; color: @mantle; padding: 0 5px; margin: 0 5px; min-width: 16px; } #keyboard-state { background: @green; color: @crust; padding: 0 0px; margin: 0 5px; min-width: 16px; } #keyboard-state > label { padding: 0 5px; } #keyboard-state > label.locked { background: @base; } #scratchpad { background: @base; } #scratchpad.empty { background-color: transparent; } #privacy { padding: 0; } #privacy-item { padding: 0 5px; color: @lavender; } #privacy-item.screenshare { background-color: @peach; } #privacy-item.audio-in { background-color: @green; } #privacy-item.audio-out { background-color: @blue; }