1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00
dotfiles/.config/waybar/style.css

89 lines
1.2 KiB
CSS
Raw Normal View History

2021-08-16 22:21:31 +08:00
* {
border: none;
border-radius: 0;
font-size: 13px;
2021-08-16 22:21:31 +08:00
min-height: 0;
}
@import "serenade.css";
2021-08-16 22:21:31 +08:00
window#waybar {
background: @background;
2022-03-29 18:07:55 +08:00
border-bottom: 2px solid @aqua;
color: @white_b;
2021-08-16 22:21:31 +08:00
}
#workspaces {
margin: 5px 10px;
2021-08-16 22:21:31 +08:00
}
2021-08-16 22:21:31 +08:00
#workspaces button {
padding: 0 5px;
background: transparent;
color: @foreground;
border-bottom: 2px solid transparent;
2021-08-16 22:21:31 +08:00
}
#workspaces button.focused {
background: @foreground;
color: @selection_background;
2021-08-16 22:21:31 +08:00
}
#workspaces button.urgent {
background-color: @magenta;
2021-08-16 22:21:31 +08:00
}
#mode,
2021-08-16 22:21:31 +08:00
#clock,
#battery {
padding: 0 10px;
margin: 0 5px;
2021-08-16 22:21:31 +08:00
}
2021-08-16 22:21:31 +08:00
#clock {
background-color: @blue;
color: @background;
}
#battery {
background-color: @aqua;
color: @background;
}
#battery.charging {
color: @background;
background-color: @green;
2021-08-16 22:21:31 +08:00
}
@keyframes blink {
to {
background-color: @white_b;
color: @background;
2021-08-16 22:21:31 +08:00
}
}
#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;
2021-08-16 22:21:31 +08:00
}
#clock {
margin-right: 10px;
}