* { /* `otf-font-awesome` is required to be installed for icons */ font-family: FontAwesome, Ubuntu; font-size: 13px; } window#waybar { background-color: rgba(43, 48, 59, 0.5); color: #ffffff; 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; } */ window#waybar.termite { background-color: #3F3F3F; } window#waybar.chromium { background-color: #000000; 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 #ffffff; } #workspaces button { padding: 0 5px; background-color: transparent; color: #ffffff; } #workspaces button:hover { background: rgba(0, 0, 0, 0.2); } #workspaces button.focused { background-color: #64727D; box-shadow: inset 0 -3px #ffffff; } #workspaces button.urgent { background-color: #eb4d4b; } #mode { background-color: #64727D; box-shadow: inset 0 -3px #ffffff; } #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: #ffffff; box-shadow: inset 0 -3px #4a4b4f; } #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 { box-shadow: inset 0 -3px #2980b9; } @keyframes blink { to { background-color: #ffffff; color: #000000; } } /* Using steps() instead of linear as a timing function to limit cpu usage */ #battery.critical:not(.charging) { background-color: #f53c3c; color: #ffffff; box-shadow: none; 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; } label:focus { background-color: #000000; } #cpu { /* box-shadow: inset 0 -3px #2ecc71; */ } #network.disconnected { box-shadow: inset 0 -3px #f53c3c; } #temperature { /* box-shadow: inset 0 -3px #f0932b; */ } #temperature.critical { background-color: #eb4d4b; } #tray { /* box-shadow: inset 0 -3px #2980b9; */ } #tray > .passive { -gtk-icon-effect: dim; } #tray > .needs-attention { -gtk-icon-effect: highlight; background-color: #eb4d4b; } #tags { min-width: 0; } #tags button { min-width: 20px; padding: 3px; margin: 0; color: #e4e4e4; } #tags button.occupied { box-shadow: inset 0 -3px #4a4b4f; } #tags button.occupied:hover, #tags button:hover { box-shadow: inset 0 -3px #6c6d71; } #tags button.focused-other { box-shadow: inset 0 -3px #57a277; } #tags button.focused-other:hover { box-shadow: inset 0 -3px #79c499; } #tags button.focused { /* box-shadow: inset 0 -3px #1bd6e0; */ box-shadow: inset 0 -3px #1be0d0; } #tags button.focused:hover { box-shadow: inset 0 -3px #60fcf5; } #tags button.urgent { box-shadow: inset 0 -3px #eb4d4b; } #tags button.urgent:hover { box-shadow: inset 0 -3px #f0932b; }