1 * { 2 /* `otf-font-awesome` is required to be installed for icons */ 3 font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif; 4 font-size: 13px; 5 } 6 7 window#waybar { 8 background-color: rgba(43, 48, 59, 0.5); 9 border-bottom: 3px solid rgba(100, 114, 125, 0.5); 10 color: #ffffff; 11 transition-property: background-color; 12 transition-duration: .5s; 13 } 14 15 window#waybar.hidden { 16 opacity: 0.2; 17 } 18 19 /* 20 window#waybar.empty { 21 background-color: transparent; 22 } 23 window#waybar.solo { 24 background-color: #FFFFFF; 25 } 26 */ 27 28 window#waybar.termite { 29 background-color: #3F3F3F; 30 } 31 32 window#waybar.chromium { 33 background-color: #000000; 34 border: none; 35 } 36 37 button { 38 /* Use box-shadow instead of border so the text isn't offset */ 39 box-shadow: inset 0 -3px transparent; 40 /* Avoid rounded borders under each button name */ 41 border: none; 42 border-radius: 0; 43 } 44 45 /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ 46 button:hover { 47 background: inherit; 48 box-shadow: inset 0 -3px #ffffff; 49 } 50 51 /* you can set a style on hover for any module like this */ 52 #pulseaudio:hover { 53 background-color: #a37800; 54 } 55 56 #workspaces button { 57 padding: 0 5px; 58 background-color: transparent; 59 color: #ffffff; 60 } 61 62 #workspaces button:hover { 63 background: rgba(0, 0, 0, 0.2); 64 } 65 66 #workspaces button.focused { 67 background-color: #64727D; 68 box-shadow: inset 0 -3px #ffffff; 69 } 70 71 #workspaces button.urgent { 72 background-color: #eb4d4b; 73 } 74 75 #mode { 76 background-color: #64727D; 77 box-shadow: inset 0 -3px #ffffff; 78 } 79 80 #clock, 81 #battery, 82 #cpu, 83 #memory, 84 #disk, 85 #temperature, 86 #backlight, 87 #network, 88 #pulseaudio, 89 #wireplumber, 90 #custom-media, 91 #tray, 92 #mode, 93 #idle_inhibitor, 94 #scratchpad, 95 #power-profiles-daemon, 96 #mpd { 97 padding: 0 10px; 98 color: #ffffff; 99 } 100 101 #window, 102 #workspaces { 103 margin: 0 4px; 104 } 105 106 /* If workspaces is the leftmost module, omit left margin */ 107 .modules-left > widget:first-child > #workspaces { 108 margin-left: 0; 109 } 110 111 /* If workspaces is the rightmost module, omit right margin */ 112 .modules-right > widget:last-child > #workspaces { 113 margin-right: 0; 114 } 115 116 #clock { 117 background-color: #64727D; 118 } 119 120 #battery { 121 background-color: #ffffff; 122 color: #000000; 123 } 124 125 #battery.charging, #battery.plugged { 126 color: #ffffff; 127 background-color: #26A65B; 128 } 129 130 @keyframes blink { 131 to { 132 background-color: #ffffff; 133 color: #000000; 134 } 135 } 136 137 /* Using steps() instead of linear as a timing function to limit cpu usage */ 138 #battery.critical:not(.charging) { 139 background-color: #f53c3c; 140 color: #ffffff; 141 animation-name: blink; 142 animation-duration: 0.5s; 143 animation-timing-function: steps(12); 144 animation-iteration-count: infinite; 145 animation-direction: alternate; 146 } 147 148 #power-profiles-daemon { 149 padding-right: 15px; 150 } 151 152 #power-profiles-daemon.performance { 153 background-color: #f53c3c; 154 color: #ffffff; 155 } 156 157 #power-profiles-daemon.balanced { 158 background-color: #2980b9; 159 color: #ffffff; 160 } 161 162 #power-profiles-daemon.power-saver { 163 background-color: #2ecc71; 164 color: #000000; 165 } 166 167 label:focus { 168 background-color: #000000; 169 } 170 171 #cpu { 172 background-color: #2ecc71; 173 color: #000000; 174 } 175 176 #memory { 177 background-color: #9b59b6; 178 } 179 180 #disk { 181 background-color: #964B00; 182 } 183 184 #backlight { 185 background-color: #90b1b1; 186 } 187 188 #network { 189 background-color: #2980b9; 190 } 191 192 #network.disconnected { 193 background-color: #f53c3c; 194 } 195 196 #pulseaudio { 197 background-color: #f1c40f; 198 color: #000000; 199 } 200 201 #pulseaudio.muted { 202 background-color: #90b1b1; 203 color: #2a5c45; 204 } 205 206 #wireplumber { 207 background-color: #fff0f5; 208 color: #000000; 209 } 210 211 #wireplumber.muted { 212 background-color: #f53c3c; 213 } 214 215 #custom-media { 216 background-color: #66cc99; 217 color: #2a5c45; 218 min-width: 100px; 219 } 220 221 #custom-media.custom-spotify { 222 background-color: #66cc99; 223 } 224 225 #custom-media.custom-vlc { 226 background-color: #ffa000; 227 } 228 229 #temperature { 230 background-color: #f0932b; 231 } 232 233 #temperature.critical { 234 background-color: #eb4d4b; 235 } 236 237 #tray { 238 background-color: #2980b9; 239 } 240 241 #tray > .passive { 242 -gtk-icon-effect: dim; 243 } 244 245 #tray > .needs-attention { 246 -gtk-icon-effect: highlight; 247 background-color: #eb4d4b; 248 } 249 250 #idle_inhibitor { 251 background-color: #2d3436; 252 } 253 254 #idle_inhibitor.activated { 255 background-color: #ecf0f1; 256 color: #2d3436; 257 } 258 259 #mpd { 260 background-color: #66cc99; 261 color: #2a5c45; 262 } 263 264 #mpd.disconnected { 265 background-color: #f53c3c; 266 } 267 268 #mpd.stopped { 269 background-color: #90b1b1; 270 } 271 272 #mpd.paused { 273 background-color: #51a37a; 274 } 275 276 #language { 277 background: #00b093; 278 color: #740864; 279 padding: 0 5px; 280 margin: 0 5px; 281 min-width: 16px; 282 } 283 284 #keyboard-state { 285 background: #97e1ad; 286 color: #000000; 287 padding: 0 0px; 288 margin: 0 5px; 289 min-width: 16px; 290 } 291 292 #keyboard-state > label { 293 padding: 0 5px; 294 } 295 296 #keyboard-state > label.locked { 297 background: rgba(0, 0, 0, 0.2); 298 } 299 300 #scratchpad { 301 background: rgba(0, 0, 0, 0.2); 302 } 303 304 #scratchpad.empty { 305 background-color: transparent; 306 } 307 308 #privacy { 309 padding: 0; 310 } 311 312 #privacy-item { 313 padding: 0 5px; 314 color: white; 315 } 316 317 #privacy-item.screenshare { 318 background-color: #cf5700; 319 } 320 321 #privacy-item.audio-in { 322 background-color: #1ca000; 323 } 324 325 #privacy-item.audio-out { 326 background-color: #0069d4; 327 }