1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00
dotfiles/.config/waybar/style.css
juan 19ca081f0d
update waybar
1. formatted with jq
2. update colors and margins
3. remove useless code and sort entries
2022-04-28 19:17:03 +08:00

89 lines
1.2 KiB
CSS

* {
border: none;
border-radius: 0;
font-size: 13px;
min-height: 0;
}
@import "serenade.css";
window#waybar {
background: @background;
border-bottom: 2px solid @aqua;
color: @white_b;
}
#workspaces {
margin: 5px 10px;
}
#workspaces button {
padding: 0 5px;
background: transparent;
color: @foreground;
border-bottom: 2px solid transparent;
}
#workspaces button.focused {
background: @foreground;
color: @selection_background;
}
#workspaces button.urgent {
background-color: @magenta;
}
#mode,
#clock,
#battery {
padding: 0 10px;
margin: 0 5px;
}
#clock {
background-color: @blue;
color: @background;
}
#battery {
background-color: @aqua;
color: @background;
}
#battery.charging {
color: @background;
background-color: @green;
}
@keyframes blink {
to {
background-color: @white_b;
color: @background;
}
}
#battery.warning:not(.charging) {
background: @red;
color: @white_b;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#clock,
#battery,
#network,
#custom-notification,
#tray,
#custom-player {
padding: 0px 10px;
margin: 0px 5px;
}
#clock {
margin-right: 10px;
}