dotfiles/waybar/.config/waybar/style.css

210 lines
3.7 KiB
CSS

* {
border: none;
border-radius: 0;
/* `otf-font-awesome` is required to be installed for icons */
/* Find Ubuntu Condensed font somewhere and install it in your system, it is NOT installed by default */
font-family: "Ubuntu Condensed", "Font Awesome 5 Free Solid", "Font Awesome 5 Free Regular", "Font Awesome 5 Brands Regular", sans-serif;
font-size: 15px;
min-height: 0;
}
window#waybar {
background-color: rgba(10, 10, 10, 0.8);
color: #66e6e6;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.8;
}
#workspaces button {
padding: 0 2px;
margin: 0 2px;
color: #664200;
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -2px #664200;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
background: transparent;
color: #b27400;
box-shadow: inset 0 -2px #b27400;
}
#workspaces button.focused {
color: #ffa700;
box-shadow: inset 0 -2px #ffa700;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
color: #0060e5;
box-shadow: inset 0 -2px #0060e5;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#mpd,
#custom-pvpn{
padding: 0 5px;
margin: 0 3px;
color: #ffffff;
}
#window {
margin: 0 12px;
}
/* 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;
}
#clock {
color: #ffa700;
box-shadow: inset 0 -2px #ffa700;
}
#battery {
color: #66e6e6;
box-shadow: inset 0 -2px #66e6e6;
}
#battery.charging, #battery.plugged {
color: #29ab00;
box-shadow: inset 0 -2px #29ab00;
}
@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;
}
label:focus {
background-color: #000000;
}
#cpu {
color: #29ab00;
box-shadow: inset 0 -2px #29ab00;
}
#memory {
color: #ce00ce;
box-shadow: inset 0 -2px #ce00ce;
}
#disk {
background-color: #964B00;
}
#backlight {
color: #66e6e6;
box-shadow: inset 0 -2px #66e6e6;
}
#network {
color: #0060e5;
box-shadow: inset 0 -2px #0060e5;
}
#network.disconnected {
color: #ce0000;
box-shadow: inset 0 -2px #ce0000;
}
#pulseaudio {
color: #ffa700;
box-shadow: inset 0 -2px #ffa700;
}
#pulseaudio.muted {
color: #ffa700;
box-shadow: inset 0 -2px #ffa700;
}
#custom-media {
background-color: transparent;
color: #ffa700;
box-shadow: inset 0 -2px #ffa700;
}
#custom-media.custom-chromium {
background-color: transparent;
color: #29ab00;
box-shadow: inset 0 -2px #29ab00;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#tray {
color: #66e6e6;
box-shadow: inset 0 -2px #66e6e6;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
color: #003072;
box-shadow: inset 0 -2px #003072;
}
#idle_inhibitor.activated {
color: #0060e5;
box-shadow: inset 0 -2px #0060e5;
}
#custom-pvpn {
color: #ce0000;
box-shadow: inset 0 -2px #ce0000;
}
#custom-pvpn.Connected {
color: #29ab00;
box-shadow: inset 0 -2px #29ab00;
}