2022-06-25 21:26:38 +08:00
|
|
|
/*
|
|
|
|
* vim: ft=less
|
|
|
|
*/
|
|
|
|
|
|
|
|
* {
|
2024-05-10 17:44:25 +08:00
|
|
|
font-family: "IBM Plex Mono", "Symbols Nerd Font", sans-serif;
|
|
|
|
font-size: 14px;
|
|
|
|
min-height: 0;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
2022-11-30 14:10:00 +08:00
|
|
|
@import "dark.less";
|
2022-06-25 21:26:38 +08:00
|
|
|
|
|
|
|
window#waybar {
|
2024-05-10 17:44:25 +08:00
|
|
|
background: @background;
|
|
|
|
border-bottom: 1px solid @selection_background;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
2024-01-24 20:53:24 +08:00
|
|
|
#workspaces,
|
|
|
|
#window {
|
2024-05-10 17:44:25 +08:00
|
|
|
margin: 5px 10px;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
2024-03-02 19:28:34 +08:00
|
|
|
#window {
|
2024-05-10 17:44:25 +08:00
|
|
|
font-weight: bold;
|
2024-03-02 19:28:34 +08:00
|
|
|
}
|
|
|
|
|
2022-06-25 21:26:38 +08:00
|
|
|
#workspaces button {
|
2024-05-10 17:44:25 +08:00
|
|
|
padding: 0 0.1em;
|
|
|
|
background: transparent;
|
|
|
|
color: @background_b;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
2023-11-15 11:25:03 +08:00
|
|
|
#workspaces button.visible {
|
2024-05-10 17:44:25 +08:00
|
|
|
color: @foreground;
|
|
|
|
font-weight: bold;
|
2023-11-15 11:25:03 +08:00
|
|
|
}
|
|
|
|
|
2024-05-10 17:44:25 +08:00
|
|
|
#workspaces button.focused {
|
|
|
|
color: @foreground;
|
|
|
|
font-weight: bold;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.urgent {
|
2024-05-10 17:44:25 +08:00
|
|
|
color: @magenta;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#custom-player,
|
|
|
|
#custom-notification,
|
|
|
|
#memory,
|
|
|
|
#cpu,
|
|
|
|
#window {
|
2024-05-10 17:44:25 +08:00
|
|
|
color: @background_b;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#clock {
|
2024-05-10 17:44:25 +08:00
|
|
|
color: @foreground;
|
|
|
|
font-weight: bold;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#battery {
|
2024-05-10 17:44:25 +08:00
|
|
|
color: @cyan;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#battery.charging {
|
2024-05-10 17:44:25 +08:00
|
|
|
color: @green;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes blink {
|
2024-05-10 17:44:25 +08:00
|
|
|
to {
|
|
|
|
color: @red;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#battery.warning:not(.charging) {
|
2024-05-10 17:44:25 +08:00
|
|
|
animation-direction: alternate;
|
|
|
|
animation-duration: 0.5s;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-name: blink;
|
|
|
|
animation-timing-function: linear;
|
|
|
|
background-color: red;
|
|
|
|
color: @background;
|
|
|
|
font-weight: bold;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#network.disconnected,
|
|
|
|
#network.disabled {
|
2024-05-10 17:44:25 +08:00
|
|
|
color: @red;
|
|
|
|
font-weight: bold;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#network.wifi {
|
2024-05-10 17:44:25 +08:00
|
|
|
color: @green;
|
|
|
|
font-style: italic;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#clock,
|
|
|
|
#cpu,
|
|
|
|
#memory,
|
|
|
|
#battery,
|
|
|
|
#network,
|
|
|
|
#custom-notification,
|
|
|
|
#tray,
|
|
|
|
#custom-player {
|
2024-05-10 17:44:25 +08:00
|
|
|
padding: 0px 5px;
|
|
|
|
margin: 0px 5px;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#clock {
|
2024-05-10 17:44:25 +08:00
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tray {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tray:hover {
|
|
|
|
opacity: 1;
|
2022-06-25 21:26:38 +08:00
|
|
|
}
|