* { font-family: Iosevka Nerd Font, sans-serif; font-size: 12px; } window#waybar { padding: 2px; color: lightblue; background: #093d59; font-weight: 700; border-top: 1px solid lightblue; } 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; } #workspaces button { padding: 0; background-color: transparent; color: lightblue; padding: 0 3px; transition-duration: 0; } #workspaces button.focused, #workspaces button.active { background-color: lightblue; color: black; } #workspaces button.urgent { background-color: rgb(93, 17, 51); color: white; } #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #wireplumber, #custom-media, #tray, #mode, #idle_inhibitor, #scratchpad, #mpd { padding: 0 10px; color: lightblue; margin: 5px 0; } #cpu, #temperature, #backlight, #memory, #scratchpad { padding: 0 11px 0 9px; } #custom-power { padding: 0 5px 0 7px; background: lightblue; color: #093d59; border-top: 1px solid #093d59; } #clock, #sway-window { border-left: 1px solid lightblue; margin: 5px; } /* 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; } @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; } label:focus { background-color: #000000; } #network.disconnected { background-color: blue; color: white; } #pulseaudio.muted { background-color: red; color: #2a5c45; } #wireplumber { background-color: #fff0f5; color: #000000; } #wireplumber.muted { background-color: #f53c3c; } #custom-media { background-color: #66cc99; color: #2a5c45; min-width: 100px; } #custom-media.custom-spotify { background-color: #66cc99; } #custom-media.custom-vlc { background-color: #ffa000; } #temperature.critical { background-color: red; color: white; } #tray>.passive { -gtk-icon-effect: dim; } #tray>.needs-attention { -gtk-icon-effect: highlight; background-color: red; color: white; } #mpd { background-color: #66cc99; color: #2a5c45; } #mpd.disconnected { background-color: #f53c3c; } #mpd.stopped { background-color: #90b1b1; } #mpd.paused { background-color: #51a37a; } #scratchpad { background: rgba(0, 0, 0, 0.2); } #scratchpad.empty { background-color: transparent; }