nixos/home/desktop/config/waybar/style.css

117 lines
1.7 KiB
CSS

@import 'macchiato.css';
* {
border: none;
border-radius: 10px;
font-family: "FiraCode Nerd Font";
font-size: 18px;
}
window#waybar {
background: transparent;
}
window#waybar.hidden {
opacity: 0.2;
}
#window {
margin-top: 6px;
padding-left: 10px;
padding-right: 10px;
border-radius: 10px;
transition: none;
color: transparent;
background: transparent;
}
#workspaces button {
transition: none;
color: @overlay0;
box-shadow: inset 0 -3px transparent;
border-radius: 2px;
}
#workspaces button.active,
#workspaces button.focused {
color: @base;
}
#workspaces button:hover {
transition: none;
box-shadow: inherit;
text-shadow: inherit;
color: @base;
border-color: #e8a2af;
color: @base;
}
#workspaces button.focused:hover {
color: @base;
}
#workspaces,
#cpu,
#memory,
#temperature,
#pulseaudio,
#bluetooth,
#network,
#backlight,
#battery,
#clock,
#tray {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
padding-left: 10px;
padding-right: 10px;
transition: none;
color: @crust;
background: @lavender;
}
#clock {
background: @pink;
}
#cpu {
background: @mauve;
}
#memory {
background: @red;
}
#temperature {
background: @yellow;
}
#pulseaudio {
background: @green;
}
#bluetooth {
background: @teal;
}
#network {
background: @sky;
}
#backlight {
background: @sapphire;
}
#battery {
background: @blue;
}
#battery.charging,
#battery.plugged {
background-color: @blue;
}
#battery.critical:not(.charging) {
background-color: @blue;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes blink {
to {
color: @red;
}
}
#tray {
color: @base;
}