dotfiles/dot_config/waybar/executable_style.css
2026-03-29 01:14:00 +02:00

160 lines
2.9 KiB
CSS

* {
font-family: JetBrainsMonoNL Nerd Font;
font-size: 14px;
}
window#waybar {
background: linear-gradient(#333333, rgba(34, 34, 34, 0.4));
/* background-color: #333333; */
/* border-bottom: 2px solid rgba(100, 100, 100, 0.7); */
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
}
label.module {
box-shadow: inset 0 -2px;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
/* 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 {
box-shadow: inherit;
text-shadow: inherit;
background: inherit;
}
#workspaces button {
padding: 0 4px;
background-color: transparent;
color: #ffffff;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.3);
}
#workspaces button.focused {
background: linear-gradient(#64727D, rgba(100, 114, 125, 0.7));
/* background-color: #64727D; */
}
#workspaces button.urgent {
background: linear-gradient(#ee0202, rgba(238, 2, 2, 0.7));
/* background-color: #ee0202; */
}
#workspaces button.active {
background: linear-gradient(rgba(0, 170, 0, 0.8), rgba(0, 136, 0, 0.4));
/* background-color: #00aa00; */
}
#network,
#wireplumber,
#cpu,
#memory,
#temperature,
#battery,
#clock {
padding: 0 4px;
color: #ffffff;
}
#window {
margin: 0 40px;
}
#workspaces {
margin: 0 6px;
}
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#clock {
padding: 0 8px;
background-color: transparent;
}
#clock:hover {
background: rgba(0, 0, 0, 0.3);
}
#battery {
background-color: transparent;
}
#battery:hover {
background: rgba(0, 0, 0, 0.3);
}
#battery.critical:not(.charging) {
box-shadow: inset 0 -2px;
color: #ee0202;
}
label:focus {
background-color: #000000;
}
#cpu {
padding-right: 10px;
background-color: transparent;
}
#cpu:hover {
background: rgba(0, 0, 0, 0.3);
}
#memory {
padding-right: 10px;
background-color: transparent;
}
#memory:hover {
background: rgba(0, 0, 0, 0.3);
}
#network {
padding-right: 8px;
background-color: transparent;
}
#network:hover {
background: rgba(0, 0, 0, 0.3);
}
#network.disconnected {
box-shadow: inset 0 -2px;
color: #ee0202;
}
#network.linked {
box-shadow: inset 0 -2px;
color: #ece81a;
}
#wireplumber {
padding-right: 6px;
background-color: transparent;
}
#wireplumber:hover {
background: rgba(0, 0, 0, 0.3);
}
#wireplumber.muted {
box-shadow: inset 0 -2px;
color: #ee0202;
}
#temperature {
background-color: transparent;
}
#temperature:hover {
background: rgba(0, 0, 0, 0.3);
}
#temperature.critical {
box-shadow: inset 0 -2px;
color: #ee0202;
}