| 1 | |
| 2 | * { |
| 3 | font-family: "Fira Sans Semibold", "Font Awesome 6 Free", FontAwesome, Roboto, Helvetica, Arial, sans-serif; |
| 4 | font-size: 14px; /* Slightly smaller font size */ |
| 5 | font-weight: 900; |
| 6 | margin: 0; |
| 7 | padding: 0; |
| 8 | transition-property: background-color; |
| 9 | transition-duration: 0.5s; |
| 10 | } |
| 11 | |
| 12 | /* Reset all styles */ |
| 13 | * { |
| 14 | border: none; |
| 15 | border-radius: 3px; |
| 16 | min-height: 0; |
| 17 | margin: 0.2em 0.3em 0.2em 0.3em; |
| 18 | } |
| 19 | |
| 20 | /* The whole bar */ |
| 21 | #waybar { |
| 22 | background-color: transparent; |
| 23 | color: #ffffff; |
| 24 | transition-property: background-color; |
| 25 | transition-duration: 0.5s; |
| 26 | border-radius: 0px; |
| 27 | margin: 0px 0px; |
| 28 | } |
| 29 | |
| 30 | window#waybar.hidden { |
| 31 | opacity: 0.2; |
| 32 | } |
| 33 | |
| 34 | #workspaces button { |
| 35 | padding: 3px 5px; /* Adjusted padding to reduce height */ |
| 36 | margin: 3px 5px; /* Reduced margin slightly */ |
| 37 | border-radius: 6px; |
| 38 | color: @foreground; |
| 39 | background-color: #111827; |
| 40 | transition: all 0.3s ease-in-out; |
| 41 | font-size: 13px; /* Slightly smaller font size */ |
| 42 | } |
| 43 | |
| 44 | #workspaces button.active { |
| 45 | color: @foreground; |
| 46 | background: #025939; |
| 47 | } |
| 48 | |
| 49 | #workspaces button:hover { |
| 50 | background: #333333; |
| 51 | } |
| 52 | |
| 53 | #workspaces button.urgent { |
| 54 | background-color: #eb4d4b; |
| 55 | } |
| 56 | |
| 57 | #workspaces { |
| 58 | background-color: #111827; |
| 59 | border-radius: 14px; |
| 60 | padding: 3px 6px; /* Adjusted padding to reduce height */ |
| 61 | } |
| 62 | |
| 63 | #window { |
| 64 | background-color: #111827; |
| 65 | font-size: 15px; /* Slightly smaller font size */ |
| 66 | font-weight: 800; |
| 67 | color: @foreground; |
| 68 | border-radius: 14px; |
| 69 | padding: 3px 6px; /* Reduced padding */ |
| 70 | margin: 2px; |
| 71 | opacity: 1; |
| 72 | } |
| 73 | |
| 74 | #clock, |
| 75 | #battery, |
| 76 | #cpu, |
| 77 | #memory, |
| 78 | #disk, |
| 79 | #temperature, |
| 80 | #backlight, |
| 81 | #network, |
| 82 | #pulseaudio, |
| 83 | #wireplumber, |
| 84 | #custom-media, |
| 85 | #mode, |
| 86 | #idle_inhibitor, |
| 87 | #mpd, |
| 88 | #bluetooth, |
| 89 | #custom-hyprPicker, |
| 90 | #custom-power-menu, |
| 91 | #custom-spotify, |
| 92 | #custom-weather, |
| 93 | #custom-weather.severe, |
| 94 | #custom-weather.sunnyDay, |
| 95 | #custom-weather.clearNight, |
| 96 | #custom-weather.cloudyFoggyDay, |
| 97 | #custom-weather.cloudyFoggyNight, |
| 98 | #custom-weather.rainyDay, |
| 99 | #custom-weather.rainyNight, |
| 100 | #custom-weather.showyIcyDay, |
| 101 | #custom-weather.snowyIcyNight, |
| 102 | #custom-weather.default { |
| 103 | background-color: #111827; |
| 104 | border-radius: 14px; |
| 105 | padding: 6px; /* Adjusted padding */ |
| 106 | } |
| 107 | |
| 108 | #custom-screenshot_t { |
| 109 | background-color: #111827; |
| 110 | border-radius: 14px; |
| 111 | padding: 6px; |
| 112 | } |
| 113 | |
| 114 | #custom-spotify { |
| 115 | background-color: #111827; |
| 116 | border-radius: 14px; |
| 117 | padding: 3px 12px; |
| 118 | } |
| 119 | |
| 120 | #tray { |
| 121 | background-color: #111827; |
| 122 | border-radius: 14px; |
| 123 | padding: 6px; /* Adjusted padding */ |
| 124 | } |
| 125 | |
| 126 | #cpu { |
| 127 | color: #fb958b; |
| 128 | background-color: #111827; |
| 129 | padding: 6px; |
| 130 | } |
| 131 | |
| 132 | #memory { |
| 133 | color: #ebcb8b; |
| 134 | background-color: #111827; |
| 135 | padding: 6px; |
| 136 | } |
| 137 | |
| 138 | #custom-power { |
| 139 | background-color: #111827; |
| 140 | border-radius: 14px; |
| 141 | padding: 6px; |
| 142 | } |
| 143 | |
| 144 | #custom-storage { |
| 145 | background-color: #111827; |
| 146 | border-radius: 14px; |
| 147 | padding: 6px; |
| 148 | } |
| 149 | |
| 150 | #custom-launcher { |
| 151 | background-color: #1b242b; |
| 152 | color: #6a92d7; |
| 153 | border-radius: 7.5px; |
| 154 | padding: 3px 6px; /* Adjusted padding */ |
| 155 | } |
| 156 | |
| 157 | #custom-weather.severe { |
| 158 | color: #eb937d; |
| 159 | } |
| 160 | |
| 161 | #custom-weather.sunnyDay { |
| 162 | color: #c2ca76; |
| 163 | } |
| 164 | |
| 165 | #custom-weather.clearNight { |
| 166 | color: #cad3f5; |
| 167 | } |
| 168 | |
| 169 | #custom-weather.cloudyFoggyDay, |
| 170 | #custom-weather.cloudyFoggyNight { |
| 171 | color: #c2ddda; |
| 172 | } |
| 173 | |
| 174 | #custom-weather.rainyDay, |
| 175 | #custom-weather.rainyNight { |
| 176 | color: #5aaca5; |
| 177 | } |
| 178 | |
| 179 | #custom-weather.showyIcyDay, |
| 180 | #custom-weather.snowyIcyNight { |
| 181 | color: #d6e7e5; |
| 182 | } |
| 183 | |
| 184 | #custom-weather.default { |
| 185 | color: #dbd9d8; |
| 186 | } |
| 187 | |
| 188 | /* If workspaces is the leftmost module, omit left margin */ |
| 189 | .modules-left > widget:first-child > #workspaces { |
| 190 | margin-left: 0; |
| 191 | } |
| 192 | |
| 193 | /* If workspaces is the rightmost module, omit right margin */ |
| 194 | .modules-right > widget:last-child > #workspaces { |
| 195 | margin-right: 0; |
| 196 | } |
| 197 | |
| 198 | #pulseaudio { |
| 199 | color: #7d9bba; |
| 200 | } |
| 201 | |
| 202 | #backlight { |
| 203 | color: #8fbcbb; |
| 204 | } |
| 205 | |
| 206 | #clock { |
| 207 | color: #c8d2e0; |
| 208 | } |
| 209 | |
| 210 | #battery { |
| 211 | color: #c0caf5; |
| 212 | } |
| 213 | |
| 214 | #battery.charging, |
| 215 | #battery.full, |
| 216 | #battery.plugged { |
| 217 | color: #26a65b; |
| 218 | } |
| 219 | |
| 220 | @keyframes blink { |
| 221 | to { |
| 222 | background-color: rgba(30, 34, 42, 0.5); |
| 223 | color: #abb2bf; |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | #battery.critical:not(.charging) { |
| 228 | color: #f53c3c; |
| 229 | animation-name: blink; |
| 230 | animation-duration: 0.5s; |
| 231 | animation-timing-function: linear; |
| 232 | animation-iteration-count: infinite; |
| 233 | animation-direction: alternate; |
| 234 | } |
| 235 | |
| 236 | label:focus { |
| 237 | background-color: #000000; |
| 238 | } |
| 239 | |
| 240 | #disk { |
| 241 | background-color: #964b00; |
| 242 | } |
| 243 | |
| 244 | #bluetooth { |
| 245 | color: #707d9d; |
| 246 | } |
| 247 | |
| 248 | #bluetooth.disconnected { |
| 249 | color: #f53c3c; |
| 250 | } |
| 251 | |
| 252 | #network { |
| 253 | color: #b48ead; |
| 254 | } |
| 255 | |
| 256 | #network.disconnected { |
| 257 | color: #f53c3c; |
| 258 | } |
| 259 | |
| 260 | #custom-media { |
| 261 | background-color: #66cc99; |
| 262 | color: #2a5c45; |
| 263 | min-width: 100px; |
| 264 | } |
| 265 | |
| 266 | #custom-media.custom-spotify { |
| 267 | background-color: #66cc99; |
| 268 | } |
| 269 | |
| 270 | #custom-media.custom-vlc { |
| 271 | background-color: #ffa000; |
| 272 | } |
| 273 | |
| 274 | #temperature { |
| 275 | background-color: #f0932b; |
| 276 | } |
| 277 | |
| 278 | #temperature.critical { |
| 279 | background-color: #eb4d4b; |
| 280 | } |
| 281 | |
| 282 | #tray > .passive { |
| 283 | -gtk-icon-effect: dim; |
| 284 | } |
| 285 | |
| 286 | #tray > .needs-attention { |
| 287 | -gtk-icon-effect: highlight; |
| 288 | background-color: #eb4d4b; |
| 289 | } |
| 290 | |
| 291 | #idle_inhibitor { |
| 292 | background-color: #2d3436; |
| 293 | } |
| 294 | |
| 295 | #idle_inhibitor.activated { |
| 296 | background-color: #ecf0f1; |
| 297 | color: #2d3436; |
| 298 | } |
| 299 | |
| 300 | #language { |
| 301 | background: #00b093; |
| 302 | color: #740864; |
| 303 | padding: 0 0px; |
| 304 | margin: 0 5px; |
| 305 | min-width: 16px; |
| 306 | } |
| 307 | |
| 308 | #keyboard-state { |
| 309 | background: #97e1ad; |
| 310 | color: #000000; |
| 311 | padding: 0 0px; |
| 312 | margin: 0 5px; |
| 313 | min-width: 16px; |
| 314 | } |
| 315 | |
| 316 | #keyboard-state > label { |
| 317 | padding: 0 0px; |
| 318 | } |
| 319 | |
| 320 | #keyboard-state > label.locked { |
| 321 | background: rgba(0, 0, 0, 0.2); |
| 322 | } |
| 323 | |
| 324 | /* Reusable pill w/ shadow */ |
| 325 | .chip { |
| 326 | padding: 2px 10px; |
| 327 | margin: 0 3px; |
| 328 | border-radius: 10px; |
| 329 | background: rgba(0, 0, 0, 0.22); |
| 330 | box-shadow: |
| 331 | 0 2px 8px rgba(0, 0, 0, 0.35), |
| 332 | inset 0 1px 0 rgba(255, 255, 255, 0.05); |
| 333 | } |
| 334 | |
| 335 | /* JetBrains pill w/ shadow + larger glyph */ |
| 336 | #custom-jetbrains { |
| 337 | background-color: #111827; |
| 338 | border-radius: 14px; |
| 339 | padding: 6px; |
| 340 | box-shadow: |
| 341 | 0 2px 8px rgba(0, 0, 0, 0.35), |
| 342 | inset 0 1px 0 rgba(255, 255, 255, 0.05); |
| 343 | font-size: 16px; /* bump icon size (try 17–18px if you want bigger) */ |
| 344 | } |
| 345 | |
| 346 | #custom-jetbrains:hover { |
| 347 | background: rgba(17, 24, 39, 0.92); /* a hair brighter than #111827 */ |
| 348 | box-shadow: |
| 349 | 0 3px 12px rgba(0, 0, 0, 0.5), |
| 350 | inset 0 1px 0 rgba(255, 255, 255, 0.06); |
| 351 | } |
| 352 | |
| 353 | /* chip look like jetbrains glyph */ |
| 354 | #custom-almanta { |
| 355 | padding: 0 8px; |
| 356 | border-radius: 10px; |
| 357 | } |
| 358 | #custom-almanta.ok { color: #a6e3a1; } /* green-ish */ |
| 359 | #custom-almanta.warn { color: #f38ba8; } /* red-ish */ |
| 360 | #custom-almanta.down { color: #f38ba8; } |