2022-06-25 21:26:38 +08:00
|
|
|
/*
|
|
|
|
* vim: ft=less
|
|
|
|
*/
|
|
|
|
|
|
|
|
* {
|
|
|
|
border: none;
|
2022-06-30 22:36:33 +08:00
|
|
|
border-radius: 1px;
|
2023-07-16 09:49:32 +08:00
|
|
|
font-family: "IBM Plex Sans", "Symbols Nerd Font" ,sans-serif;
|
|
|
|
font-size: 14px;
|
2022-06-25 21:26:38 +08:00
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
2022-11-30 14:10:00 +08:00
|
|
|
@import "dark.less";
|
2022-06-25 21:26:38 +08:00
|
|
|
|
|
|
|
window#waybar {
|
|
|
|
background: @background;
|
|
|
|
border-bottom: 1px solid @selection_background;
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces {
|
|
|
|
margin: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button {
|
|
|
|
padding: 0 2px;
|
|
|
|
background: transparent;
|
|
|
|
color: @background_b;
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.focused {
|
|
|
|
color: @foreground;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.urgent {
|
|
|
|
color: @magenta;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-player,
|
|
|
|
#custom-notification,
|
|
|
|
#memory,
|
|
|
|
#cpu,
|
|
|
|
#window {
|
|
|
|
color: @background_b;
|
|
|
|
}
|
|
|
|
|
|
|
|
#clock {
|
|
|
|
color: @magenta;
|
|
|
|
}
|
|
|
|
|
|
|
|
#battery {
|
|
|
|
color: @blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
#battery.charging {
|
|
|
|
color: @green;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes blink {
|
|
|
|
to {
|
|
|
|
color: @red;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#battery.warning:not(.charging) {
|
|
|
|
color: @background;
|
|
|
|
background-color: red;
|
|
|
|
animation-name: blink;
|
|
|
|
animation-duration: 0.5s;
|
|
|
|
animation-timing-function: linear;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
|
|
|
}
|
|
|
|
|
|
|
|
#network.disconnected,
|
|
|
|
#network.disabled {
|
|
|
|
color: @red;
|
|
|
|
}
|
|
|
|
|
|
|
|
#network.wifi {
|
|
|
|
color: @green;
|
|
|
|
}
|
|
|
|
|
|
|
|
#clock,
|
|
|
|
#cpu,
|
|
|
|
#memory,
|
|
|
|
#battery,
|
|
|
|
#network,
|
|
|
|
#custom-notification,
|
|
|
|
#tray,
|
|
|
|
#custom-player {
|
|
|
|
padding: 0px 5px;
|
|
|
|
margin: 0px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#clock {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|