dotfiles/.config/waybar/style.css
2026-04-12 19:10:03 +02:00

103 lines
1.7 KiB
CSS

* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: Symbols Nerd Font, sans-serif;
font-size: 14px;
}
tooltip {
font-weight: normal;
background: rgba(25, 25, 25, 0.9);
border: solid 2px rgba(80, 80, 80, 0.9);
border-radius: 0px;
}
window#waybar {
color: #ffffff;
background-color: rgba(0, 0, 0, 1.0);
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -2px 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 -2px #ffffff;
}
#workspaces button {
padding: 0 4px;
color: #999999;
background-color: transparent;
}
#workspaces button:hover {
background: inherit;
}
#workspaces button.focused,
#workspaces button.active {
color: #ffffff;
}
#workspaces button.urgent {
background-color: #9b0000;
}
.mark {
background-color: #505050;
}
#mode,
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#bluetooth,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#power-profiles-daemon,
#mpd {
padding: 0 8px;
color: #ffffff;
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left>widget:first-child>#workspaces {
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right>widget:last-child>#workspaces {
margin-right: 0;
}
#battery.critical:not(.charging) {
color: #9b0000
}