60 lines
1.1 KiB
CSS
60 lines
1.1 KiB
CSS
* {
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
|
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: #1f2329;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.module {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
button {
|
|
/* Use box-shadow instead of border so the text isn't offset */
|
|
box-shadow: inset 0 -3px transparent;
|
|
/* Avoid rounded borders under each button name */
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
button:hover {
|
|
background: inherit;
|
|
box-shadow: inset 0 -3px #a0a8b7;
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 0 5px;
|
|
}
|
|
|
|
#workspaces button.active {
|
|
border-radius: 0px;
|
|
box-shadow: inset 0 -3px #a0a8b7;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: #e2b86b;
|
|
}
|
|
|
|
#battery.critical:not(.charging) {
|
|
color: #f53c3c;
|
|
}
|
|
|
|
#temperature.critical {
|
|
color: #e55561;
|
|
}
|
|
|
|
#tray > .passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
#tray > .needs-attention {
|
|
-gtk-icon-effect: highlight;
|
|
background-color: #e2b86b;
|
|
}
|
|
|