config/niri/dot-config/waybar/style.css
2025-07-29 00:00:03 +10:00

131 lines
No EOL
2.1 KiB
CSS

* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Inter, sans-serif;
font-size: 12px;
}
window#waybar {
background-color: rgba(26, 27, 38, 0.95);
color: #c0caf5;
transition-property: background-color;
transition-duration: .5s;
}
button {
/* Avoid rounded borders under each button name */
border: none;
border-radius: 0;
padding: 0 4px;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
box-shadow: inset 0 0 transparent;
}
#workspaces button {
background-color: transparent;
color: #ffffff;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: #bb9af7;
color: #15161e;
}
#workspaces button.urgent {
background-color: #e0af68;
color: #15161e;
}
#clock,
#battery,
#network,
#wireplumber,
#tray,
#idle_inhibitor,
#power-profiles-daemon,
#custom-notifications {
padding: 0 4px;
min-width: 1.5em;
color: #c0caf5;
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left>widget:first-child>#workspaces {
margin-left: 0;
}
#clock {
font-weight: bold;
}
#battery.charging,
#battery.plugged {
background-color: #9ece6a;
color: #15161e;
}
#battery.critical:not(.charging) {
background-color: #f7768e;
color: #15161e;
}
#power-profiles-daemon.performance {
background-color: #e0af68;
color: #15161e;
}
#power-profiles-daemon.power-saver {
background-color: #9ece6a;
color: #15161e;
}
label:focus {
background-color: #000000;
}
#network.disconnected {
background-color: #f7768e;
color: #15161e;
}
#wireplumber.muted {
background-color: #f7768e;
color: #15161e;
}
#tray>.passive {
-gtk-icon-effect: dim;
}
#tray>.needs-attention {
-gtk-icon-effect: highlight;
background-color: #e0af68;
color: #15161e;
}
#idle_inhibitor.activated {
background-color: #e0af68;
color: #15161e;
}
#privacy {
padding: 0;
}
#privacy-item {
padding: 0 4px;
background-color: #e0af68;
color: #15161e;
}