* { /* `otf-font-awesome` is required to be installed for icons */ font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; font-size: 13px; } window#waybar { background-color: rgba(43, 48, 59, 0.5); border-bottom: 3px solid rgba(100, 114, 125, 0.5); color: #ffffff; transition-property: background-color; transition-duration: .5s; } window#waybar.hidden { opacity: 0.2; } 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; } #tags button { padding: 0 5px; background-color: transparent; color: #ffffff; } #tags button:hover { background: rgba(0, 0, 0, 0.2); } #tags button.focused { background-color: #64727D; box-shadow: inset 0 -3px #ffffff; } #tags button.urgent { background-color: #eb4d4b; } #clock, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #tray, #power-profiles-daemon, #mpd { margin: 0 3px; padding: 0 8px; color: #ffffff; border: 2px solid #81a1c1; } #clock:hover, #battery:hover, #power-profiles-daemon:hover, #network:hover, #pulseaudio:hover, #mpd:hover { border: 2px solid #eceff4; } #window { margin: 0 4px; } /* If workspaces is the leftmost module, omit left margin */ .modules-left > widget:first-child > #tags { margin-left: 0; } /* If workspaces is the rightmost module, omit right margin */ .modules-right > widget:last-child > #tags { margin-right: 0; } @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; 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; } #tray > .passive { -gtk-icon-effect: dim; } #tray > .needs-attention { -gtk-icon-effect: highlight; }