dotfiles/.config/waybar/style.css

147 lines
2.5 KiB
CSS

/* Import wallust colors */
@import url("colors-wallust.css");
* {
font-family: "Fira Sans Semibold", "Font Awesome 6 Free", FontAwesome, Roboto,
Helvetica, Arial, sans-serif;
font-size: 12px;
font-weight: 900;
margin: 0;
padding: 0;
transition-property: background-color;
transition-duration: 0.5s;
}
/* Reset all styles */
* {
border: none;
border-radius: 3px;
min-height: 0;
margin: 0;
}
/* The whole bar */
#waybar {
background-color: alpha(@background, 0);
color: @foreground;
transition-property: background-color;
transition-duration: 0.5s;
border-radius: 0px;
margin: 0;
}
window#waybar.hidden {
opacity: 0.2;
}
#workspaces button {
padding: 3px 2px;
margin: 3px 2px;
border-radius: 6px;
color: @foreground;
background-color: @color0;
transition: all 0.3s ease-in-out;
font-size: 9px; /* Slightly smaller font size */
}
#workspaces button.active {
color: @foreground;
background: @color3;
}
#workspaces button:hover {
background: @color2;
}
#workspaces button.urgent {
background-color: @color9;
}
#workspaces {
background-color: rgba(17, 24, 39, 0.5);
margin-top: 2px;
border-radius: 3px;
padding: 3px 6px;
}
#window {
background-color: alpha(@background, 0.5);
color: @foreground;
border-radius: 3px;
padding: 1px 10px; /* Reduced padding */
margin: 2px;
}
#clock,
#battery,
#cpu,
#memory,
#custom-storage,
#custom-weather,
#bluetooth,
#custom-media,
#temperature,
#backlight,
#network,
#wireplumber,
#pulseaudio {
background-color: alpha(@background, 0.3);
color: @foreground;
padding: 0 10px;
margin: 2px;
}
#bluetooth.disabled {
background-color: alpha(@color8, 0);
}
#battery.critical:not(.charging) {
color: @color1;
}
#temperature.critical {
background-color: alpha(@foreground, 0.5);
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: rgba(253, 77, 75, 0.5);
}
#idle_inhibitor {
background-color: rgba(45, 52, 54, 0.5);
}
#idle_inhibitor.activated {
background-color: rgba(236, 240, 241, 0.5); /* bleibt gleich */
color: rgba(45, 52, 54, 1);
}
#language {
background: rgba(0, 176, 147, 0.5);
color: rgba(116, 8, 100, 0.5);
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
background: rgba(151, 225, 173, 0.5);
color: rgba(0, 0, 0, 0.5);
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 0px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}