stow_dotfiles/hyprland/.config/waybar/style.css
Matthieu Fortin (CPC/CCP) 77c1c64811 waybar config
2024-09-20 15:05:38 -04:00

120 lines
No EOL
1.8 KiB
CSS

* {
font-family: FontAwesome, 'Noto Sans', sans-serif;
font-size: 1rem;
min-height: 0;
border: none;
border-radius: 0;
}
window#waybar {
background-color: rgba(43,48,59,0.5);
color: #ffffff;
}
tooltip {
background: rgba(43,48,59,0.5);
border: 1px solid rgba(100,114,125,0.5)
}
tooltip label {
color: white;
}
#wireplumber,
#clock,
#battery {
padding: 0 0.625rem;
/* color: #ffffff; */
}
#workspace button {
padding: 0 0.5em;
background: transparent;
color: white;
border-bottom: 3px solid transparent;
}
#workspace button.focused {
background: #64727D;
border-bottom: 3px solid white;
}
#window,
#workspaces {
margin: 0 0.25rem;
}
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#wireplumber,
#battery {
background-color: #ffffff;
color: #000000;
}
#battery.plugged {
color: #ffffff;
background-color: #26A65B;
}
#battery.discharging {
background-color: #ff1111;
}
#battery.charging {
background-color: #00ff00;
}
#battery.charging {
color: white;
background-color: #26A65B;
}
@keyframes blink {
to {
background-color: #ffffff;
color: black;
}
}
#battery.warning:not(.charging) {
background: #f53c3c;
color: white;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
#clock {
background-color: #ffffff;
color: #000000;
}
#idle_inhibitor.activated {
font-size: 1.5rem;
}
#idle_inhibitor.deactivated {
font-size: 1.5rem;
}
#keyboard-state {
margin: 0 0.625rem;
min-width: 0.5rem;
/* padding: 0 0.625rem; */
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}