2023-06-15 16:36:30 -04:00
|
|
|
@import "../../.cache/wal/colors-waybar.css"; /* can't get a nice path? or brainfart */
|
|
|
|
|
|
|
|
* {
|
|
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
|
|
|
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
|
|
|
font-size: 13px;
|
|
|
|
color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
window#waybar {
|
|
|
|
background-color: @background;
|
|
|
|
border-bottom: 3px solid @color3;
|
|
|
|
transition-property: background-color;
|
|
|
|
transition-duration: .5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
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 @color2;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tags {
|
|
|
|
background-color: @background;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tags button.occupied {
|
|
|
|
box-shadow: inset 0 -3px @color3;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tags button.focused {
|
|
|
|
background-color: @color1;
|
|
|
|
box-shadow: inset 0 -3px @foreground;
|
|
|
|
}
|
|
|
|
#tags button.urgent {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
#idle_inhibitor,
|
|
|
|
#clock,
|
|
|
|
#cpu,
|
|
|
|
#memory,
|
|
|
|
#network,
|
|
|
|
#tray,
|
2023-06-17 18:48:15 -04:00
|
|
|
#pulseaudio,
|
|
|
|
#battery {
|
2023-06-15 16:36:30 -04:00
|
|
|
background-color: @color1;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#idle_inhibitor.activated {
|
|
|
|
background-color: #ecf0f1;
|
|
|
|
color: #2d3436;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pulseaudio.muted {
|
|
|
|
background-color: #90b1b1;
|
|
|
|
color: #2a5c45;
|
|
|
|
}
|
|
|
|
|
|
|
|
#network.disconnected {
|
|
|
|
background-color: #f53c3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tray > .passive {
|
|
|
|
-gtk-icon-effect: dim;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tray > .needs-attention {
|
|
|
|
-gtk-icon-effect: highlight;
|
|
|
|
background-color: #eb4d4b;
|
|
|
|
}
|
|
|
|
|
|
|
|
#battery.charging, #battery.plugged {
|
2023-06-17 18:48:15 -04:00
|
|
|
color: @foreground;
|
|
|
|
background-color: @color1;
|
2023-06-15 16:36:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#wireplumber {
|
|
|
|
background-color: #fff0f5;
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wireplumber.muted {
|
|
|
|
background-color: #f53c3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-media {
|
|
|
|
background-color: #66cc99;
|
|
|
|
color: #2a5c45;
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-media.custom-spotify {
|
|
|
|
background-color: #66cc99;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-media.custom-vlc {
|
|
|
|
background-color: #ffa000;
|
|
|
|
}
|