style.css (4838B)
1 @import "catppuccin.css"; 2 3 * { 4 font-family: "Sans"; 5 font-weight: bold; 6 min-height: 0; 7 /* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ 8 font-size: 100%; 9 font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; 10 } 11 12 window#waybar { 13 transition-property: background-color; 14 transition-duration: 0.5s; 15 background: transparent; 16 border-radius: 10px; 17 } 18 19 window#waybar.hidden { 20 opacity: 0.2; 21 } 22 23 window#waybar.empty, 24 window#waybar.empty #window { 25 background-color: transparent; 26 padding: 0px; 27 border: 0px; 28 } 29 30 #taskbar button, 31 #workspaces button { 32 color: @overlay1; 33 box-shadow: none; 34 text-shadow: none; 35 padding: 0px; 36 border-radius: 9px; 37 padding-left: 4px; 38 padding-right: 4px; 39 animation: gradient_f 20s ease-in infinite; 40 transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682); 41 } 42 43 #taskbar button:hover, 44 #workspaces button:hover { 45 border-radius: 10px; 46 color: @peach; 47 background-color: #313244; 48 padding-left: 2px; 49 padding-right: 2px; 50 animation: gradient_f 20s ease-in infinite; 51 transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); 52 } 53 54 #workspaces button.persistent { 55 color: @surface1; 56 border-radius: 10px; 57 } 58 59 #taskbar button.active, 60 #workspaces button.active { 61 color: @mauve; 62 border-radius: 10px; 63 padding-left: 8px; 64 padding-right: 8px; 65 animation: gradient_f 20s ease-in infinite; 66 transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682); 67 } 68 69 #workspaces button.urgent { 70 color: @red; 71 border-radius: 0px; 72 } 73 74 /* This section can be use if you want to separate waybar modules */ 75 .modules-left, .modules-right { 76 background: rgba(30, 30, 46, 0.8) ; 77 border: 0.5px solid @overlay0; 78 padding-top: 2px; 79 padding-bottom: 2px; 80 padding-right: 4px; 81 padding-left: 4px; 82 border-radius: 10px; 83 } 84 85 .modules-left, .modules-right { 86 border: 1px solid @blue; 87 } 88 89 #backlight, 90 #backlight-slider, 91 #battery, 92 #bluetooth, 93 #clock, 94 #cpu, 95 #disk, 96 #idle_inhibitor, 97 #keyboard-state, 98 #memory, 99 #mode, 100 #mpris, 101 #network, 102 #power-profiles-daemon, 103 #pulseaudio, 104 #pulseaudio-slider, 105 #taskbar button, 106 #taskbar, 107 #temperature, 108 #tray, 109 #window, 110 #wireplumber, 111 #workspaces, 112 #custom-backlight, 113 #custom-browser, 114 #custom-cava_mviz, 115 #custom-cycle_wall, 116 #custom-dot_update, 117 #custom-file_manager, 118 #custom-keybinds, 119 #custom-keyboard, 120 #custom-light_dark, 121 #custom-lock, 122 #custom-hint, 123 #custom-hypridle, 124 #custom-menu, 125 #custom-playerctl, 126 #custom-power_vertical, 127 #custom-power, 128 #custom-quit, 129 #custom-reboot, 130 #custom-settings, 131 #custom-spotify, 132 #custom-swaync, 133 #custom-tty, 134 #custom-updater, 135 #custom-weather, 136 #custom-weather.clearNight, 137 #custom-weather.cloudyFoggyDay, 138 #custom-weather.cloudyFoggyNight, 139 #custom-weather.default, 140 #custom-weather.rainyDay, 141 #custom-weather.rainyNight, 142 #custom-weather.severe, 143 #custom-weather.showyIcyDay, 144 #custom-weather.snowyIcyNight, 145 #custom-weather.sunnyDay { 146 padding-top: 4px; 147 padding-bottom: 4px; 148 padding-right: 6px; 149 padding-left: 6px; 150 } 151 /*-----Indicators----*/ 152 #custom-hypridle.notactive, 153 #idle_inhibitor.activated { 154 color: #39FF14; 155 } 156 157 #bluetooth, 158 #backlight { 159 color: @blue; 160 } 161 162 #battery { 163 color: @green; 164 } 165 166 @keyframes blink { 167 to { 168 color: @surface0; 169 } 170 } 171 172 #battery.critical:not(.charging) { 173 background-color: @red; 174 color: @theme_text_color; 175 animation-name: blink; 176 animation-duration: 3.0s; 177 animation-timing-function: steps(12); 178 animation-iteration-count: infinite; 179 animation-direction: alternate; 180 box-shadow: inset 0 -3px transparent; 181 } 182 183 #clock { 184 color: @yellow; 185 } 186 187 #cpu { 188 color: @green; 189 } 190 191 #custom-keyboard, 192 #memory { 193 color: @sky; 194 } 195 196 #disk { 197 color: @sapphire; 198 } 199 200 #temperature { 201 color: @teal; 202 } 203 204 #temperature.critical { 205 background-color: @red; 206 } 207 208 #tray > .passive { 209 -gtk-icon-effect: dim; 210 } 211 #tray > .needs-attention { 212 -gtk-icon-effect: highlight; 213 } 214 215 #keyboard-state { 216 color: @flamingo; 217 } 218 219 #custom-cava_mviz { 220 color: @pink; 221 } 222 223 #custom-menu { 224 color: @rosewater; 225 } 226 227 #custom-power { 228 color: @red; 229 } 230 231 #custom-updater { 232 color: @red; 233 } 234 235 #custom-light_dark { 236 color: @blue; 237 } 238 239 #custom-weather { 240 color: @lavender; 241 } 242 243 #custom-lock { 244 color: @maroon; 245 } 246 247 #pulseaudio { 248 color: @sapphire; 249 } 250 251 #pulseaudio.bluetooth { 252 color: @pink; 253 } 254 #pulseaudio.muted { 255 color: @red; 256 } 257 258 #window { 259 color: @mauve; 260 } 261 262 #mpris { 263 color:@lavender; 264 } 265 266 #network { 267 color: @teal; 268 } 269 #network.disconnected, 270 #network.disabled { 271 background-color: @surface0; 272 color: @text; 273 } 274 275 #backlight-slider slider, 276 #pulseaudio-slider slider { 277 min-width: 0px; 278 min-height: 0px; 279 opacity: 0; 280 background-image: none; 281 border: none; 282 box-shadow: none; 283 } 284 285 #backlight-slider trough, 286 #pulseaudio-slider trough { 287 min-width: 80px; 288 min-height: 5px; 289 border-radius: 5px; 290 } 291 292 #backlight-slider highlight, 293 #pulseaudio-slider highlight { 294 min-height: 10px; 295 border-radius: 5px; 296 } 297 298 299 #custom-nettraf { 300 min-width: 120px; 301 }