Created
September 16, 2024 17:44
-
-
Save t0m5k1/e3b9a9a8ec88f91f98f85a76d966460c to your computer and use it in GitHub Desktop.
.config/waybar/style.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
border: none; | |
border-radius: 0; | |
font-family: "Literation Mono Nerd Font", "Roboto", "Ubuntu", "Droid Sans", "Source Code Pro", monospace; | |
font-size: 14px; | |
min-height: 0; | |
} | |
window#waybar { | |
background: linear-gradient(90deg, rgba(43,48,59,0.5) 0%, rgba(29,32,33,0.5) 100%); | |
border-bottom: 3px solid rgba(100, 114, 125, 0.5); | |
color: #ffffff; | |
} | |
window#waybar.hidden { | |
opacity: 0.2; | |
} | |
@keyframes gradientAnimation { | |
0% { | |
background-position: 0% 50%; | |
} | |
50% { | |
background-position: 100% 50%; | |
} | |
100% { | |
background-position: 0% 50%; | |
} | |
} | |
#workspaces button { | |
padding: 0 5px; | |
background-color: transparent; | |
color: #ffffff; | |
border-bottom: 3px solid transparent; | |
} | |
#workspaces button:hover { | |
background: rgba(0, 0, 0, 0.2); | |
box-shadow: inherit; | |
border-bottom: 3px solid #ffffff; | |
} | |
#workspaces button.active { | |
background-color: #64727D; | |
border-bottom: 3px solid #ffffff; | |
} | |
#workspaces button.urgent { | |
background-color: #eb4d4b; | |
} | |
#custom-logo { | |
color: #3385FF;; | |
font-size: 24px; | |
margin: 0 10px; | |
} | |
#clock, | |
#battery, | |
#cpu, | |
#memory, | |
#temperature, | |
#backlight, | |
#network, | |
#pulseaudio, | |
#custom-weather, | |
#mpris, | |
#custom-updates, | |
#tray { | |
padding: 0 10px; | |
margin: 0 4px; | |
color: #ffffff; | |
border-radius: 10px; | |
background: linear-gradient(-45deg, rgba(51,204,255,0.93), rgba(51,134,252,0.93)); | |
background-size: 400% 400%; | |
animation: gradientAnimation 20s ease infinite; | |
} | |
#clock { | |
background-color: #64727D; | |
color: #000000; | |
} | |
/*#battery { | |
background-color: #ffffff; | |
color: #000000; | |
} | |
#battery.charging, #battery.plugged { | |
color: #ffffff; | |
background-color: #26A65B; | |
}*/ | |
@keyframes blink { | |
to { | |
background-color: #ffffff; | |
color: #000000; | |
} | |
} | |
#battery.critical:not(.charging) { | |
background-color: #f53c3c; | |
color: #ffffff; | |
animation-name: blink; | |
animation-duration: 0.5s; | |
animation-timing-function: linear; | |
animation-iteration-count: infinite; | |
animation-direction: alternate; | |
} | |
#cpu { | |
background-color: #2ecc71; | |
color: #000000; | |
} | |
#memory { | |
background-color: #9b59b6; | |
color: #000000; | |
} | |
#temperature { | |
background-color: #f0932b; | |
color: #000000; | |
} | |
#temperature.critical { | |
background-color: #eb4d4b; | |
font-family: "LiterationMono Nerd Font", "Font Awesome 65 Free", monospace; | |
color: #000000; | |
} | |
/*#backlight { | |
background-color: #90b1b1; | |
} | |
#network { | |
background-color: #2980b9; | |
} | |
#network.disconnected { | |
background-color: #f53c3c; | |
}*/ | |
#pulseaudio { | |
background-color: #f1c40f; | |
color: #000000; | |
} | |
#pulseaudio.muted { | |
background-color: #90b1b1; | |
color: #2a5c45; | |
} | |
#custom-weather { | |
background-color: #5865F2; | |
color: #000000; | |
} | |
#mpris { | |
background-color: #1DB954; | |
color: #000000; | |
} | |
#custom-updates { | |
background-color: #f39c12; | |
color: #000000; | |
} | |
#tray { | |
background-color: #2980b9; | |
} | |
#tray > .passive { | |
-gtk-icon-effect: dim; | |
} | |
#tray > .needs-attention { | |
-gtk-icon-effect: highlight; | |
background-color: #eb4d4b; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment