myconfigfiles/.config/waybar/style.css

124 lines
2 KiB
CSS

* {
font-family: Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
min-height: 0;
padding-bottom: 2px;
padding-top: 2px;
background: #1f1f1f;
}
#battery {
background: transparent;
color: #ffffff;
opacity: 0.7;
padding: 2px 8px;
}
#battery.charging, #battery.plugged {
color: #ffffff;
padding: 2px 8px;
}
#battery.critical:not(.charging) {
animation-direction: alternate;
animation-duration: 0.5s;
animation-iteration-count: infinite;
animation-name: blink;
animation-timing-function: linear;
background-color: #f53c3c;
color: gray;
}
#clock {
background: #1f1f1f;
color: #ffffff;
margin-right: 4px;
padding: 2px 8px;
}
#network {
background: transparent;
color: #ffffff;
opacity: 0.7;
padding: 2px 8px;
}
#network.disconnected {
background: #1f1f1f;
color: red;
}
#tray {
background: #1f1f1f;
color: #ffffff;
margin-left: 18px;
}
#tray > .passive {
-gtk-icon-effect: dim;
background: #1f1f1f;
color: #ffffff;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background: #1f1f1f;
color: #ffffff;
}
window#waybar {
background: transparent;
border-bottom: 1px solid #332b2b;
transition-duration: .2s;
transition-property: background-color;
}
#workspaces button:hover {
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
background: @background;
border-bottom: 1px solid #ffffff;
box-shadow: inherit;
color: #ffffff;
}
#workspaces button {
background: transparent;
color: #ffffff;
margin-left: 2px;
margin-right: 2px;
opacity: 0.7;
}
#workspaces button.focused {
background: black;
color: #ffffff;
opacity: 0.8;
}
#workspaces button.focused label {
background: black;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#workspaces button.urgent label {
background-color: #eb4d4b;
}
/* Custom Stuff */
#custom-audio {
background: transparent;
color: #ffffff;
opacity: 0.7;
padding: 2px 8px;
}
#custom-hostname {
background: transparent;
color: #ffffff;
padding: 2px 8px;
opacity: 0.7;
}