dotfiles/home/.config/waybar/style.css

137 lines
2.3 KiB
CSS
Raw Normal View History

2022-10-29 18:25:42 +00:00
* {
border: none;
border-radius: 0;
font-family: "JetBrains Mono", "Font Awesome 6 Free";
font-size: 14px;
}
window .modules-left,
window .modules-center,
window .modules-right {
background: rgba(55, 59, 65, 0.85);
padding: 0px 8px 0px 8px;
}
window .modules-left {
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
}
window .modules-right {
border-top-left-radius: 16px;
border-bottom-left-radius: 16px;
}
window .modules-center {
border-radius: 16px;
}
window#waybar {
background: transparent;
}
window > box {
margin: 5px 0px 5px 0px;
padding: 0px 0px 0px 0px;
background: rgba(43, 48, 59, 0);
color: white;
border-radius: 16px;
min-height: 32px;
}
#workspaces button {
font-weight: bolder;
margin: 3px;
padding: 0px 2px 0px 2px;
background-color: transparent;
color: rgba(255, 255, 255, 0.5);
min-width: 24px;
box-shadow: inset 0 -3px transparent;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
background: transparent;
box-shadow: inset 0 -3px transparent;
color: rgba(255, 255, 255, 0.8);
}
#workspaces button.active,
#workspaces button.focused {
background: transparent;
box-shadow: inset 0 -3px #ffffff;
color: rgba(255, 255, 255, 1);
}
#workspaces button.urgent {
box-shadow: inset 0 -3px #cc6666;
color: #cc6666;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#mpd,
#window,
#workspaces,
#custom-gammastep
{
padding: 0px 8px 0px 8px;
margin: 0 5px;
color: #ffffff;
}
#mode {
font-weight: bolder;
color: #f0c674;
}
#mpd.stopped {
color: rgba(255, 255, 255, 0.3);
}
#idle_inhibitor.deactivated {
color: rgba(255, 255, 255, 0.3);
}
#network.disconnected, #network.disabled {
color: rgba(255, 255, 255, 0.3);
}
#clock {
font-weight: bolder;
}
@keyframes blink {
to {
color: #ffffff;
}
}
#battery.critical:not(.charging) {
/* background-color: #f53c3c; */
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
}