NixOS/home/modules/sway/waybar.css

91 lines
1.5 KiB
CSS

* {
border: none;
border-radius: 0;
min-height: 0;
font-family: Iosevka nerd font;
font-weight: bold;
font-size: 14px;
padding: 0;
}
window#waybar {
background: rgba(29, 31, 33, 0.75);
border-radius: 6px;
border: 2px solid #303030;
}
#workspaces {
background-color: transparent;
}
#workspaces button {
all: initial; /* Remove GTK theme values (waybar #1351) */
min-width: 0; /* Fix weird spacing in materia (waybar #450) */
box-shadow: inset 0 -3px transparent; /* Use box-shadow instead of border so the text isn't offset */
padding: 6px 12px;
color: #6c757d;
}
#workspaces button.visible {
color: #ede0d4;
}
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
color: #ede0d4;
}
#workspaces button.urgent {
background-color: #ffcb70;
}
#battery,
#backlight,
#network,
#clock,
#tray,
#pulseaudio {
margin: 8px;
padding-right: 16px;
background-color: transparent;
color: #ede0d4;
}
#custom-swww {
padding-right: 16px;
background-color: transparent;
color: #ede0d4;
}
#battery {
background-color: #ede0d4;
}
#battery.warning,
#battery.critical,
#battery.urgent {
color: #ede0d4;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery.charging {
background-color: #97a97c;
}
@keyframes blink {
to {
background-color: #ffcb70;
color: #ede0d4;
}
}
tooltip {
padding: 15px;
background-color: #050505;
border-radius: 6px;
border: 2px solid #303030;
}