138 lines
2.4 KiB
CSS
138 lines
2.4 KiB
CSS
* {
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
|
font-family: FontAwesome, SourceCodePro;
|
|
font-size: 13px;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: rgba(44, 37, 46, 0.7);
|
|
padding-bottom: 6px;
|
|
border-bottom: 2px solid rgba(129, 161, 193, 0.5);
|
|
color: #ffffff;
|
|
transition-property: background-color;
|
|
transition-duration: .5s;
|
|
}
|
|
|
|
.modules-right {
|
|
margin-right: 7px;
|
|
}
|
|
|
|
.modules-left {
|
|
margin-left: 7px;
|
|
}
|
|
|
|
window#waybar.hidden {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
window#waybar.termite {
|
|
background-color: #3F3F3F;
|
|
}
|
|
|
|
window#waybar.chromium {
|
|
background-color: #000000;
|
|
border: none;
|
|
}
|
|
|
|
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 #ffffff;
|
|
}
|
|
|
|
#tags button {
|
|
padding: 0 4px;
|
|
background-color: transparent;
|
|
color: #ffffff;
|
|
}
|
|
|
|
#tags button:hover {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#tags button.focused {
|
|
background-color: #64727D;
|
|
box-shadow: inset 0 -3px #ffffff;
|
|
}
|
|
|
|
#tags button.urgent {
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#clock,
|
|
#battery,
|
|
#cpu,
|
|
#memory,
|
|
#temperature,
|
|
#backlight,
|
|
#network,
|
|
#pulseaudio,
|
|
#tray,
|
|
#power-profiles-daemon,
|
|
#mpd {
|
|
margin: 0 3px;
|
|
padding: 0 8px;
|
|
color: #ffffff;
|
|
border: 2px solid #81a1c1;
|
|
}
|
|
|
|
#cpu,
|
|
#memory,
|
|
#temperature,
|
|
#backlight,
|
|
#battery,
|
|
#mpd,
|
|
#network {
|
|
padding-right: 11px;
|
|
}
|
|
|
|
#clock:hover,
|
|
#battery:hover,
|
|
#power-profiles-daemon:hover,
|
|
#network:hover,
|
|
#pulseaudio:hover,
|
|
#mpd:hover {
|
|
border: 2px solid #eceff4;
|
|
}
|
|
|
|
#window {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
background-color: #ffffff;
|
|
color: #000000;
|
|
}
|
|
}
|
|
|
|
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
|
#battery.critical:not(.charging) {
|
|
background-color: #f53c3c;
|
|
color: #ffffff;
|
|
animation-name: blink;
|
|
animation-duration: 0.5s;
|
|
animation-timing-function: steps(12);
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
#power-profiles-daemon {
|
|
padding-right: 13px;
|
|
}
|
|
|
|
#tray > .passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
#tray > .needs-attention {
|
|
-gtk-icon-effect: highlight;
|
|
}
|