1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-10-30 23:51:51 +08:00
dotfiles/.config/waybar/style.css

107 lines
1.4 KiB
CSS
Raw Normal View History

2022-06-25 21:26:38 +08:00
/*
* vim: ft=less
*/
* {
border: none;
border-radius: 1px;
font-family: "IBM Plex Sans", "Symbols Nerd Font", sans-serif;
2023-07-16 09:49:32 +08:00
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,
#window {
2022-06-25 21:26:38 +08:00
margin: 5px 10px;
}
#workspaces button {
padding: 0 2px;
background: transparent;
color: @background_b;
}
2023-11-15 11:25:03 +08:00
#workspaces button.visible {
color: @foreground;
font-weight: bold;
}
2023-10-10 21:24:00 +08:00
#workspaces button.active {
2022-06-25 21:26:38 +08:00
color: @foreground;
font-weight: bold;
}
#workspaces button.urgent {
color: @magenta;
}
#custom-player,
#custom-notification,
#memory,
#cpu,
#window {
color: @background_b;
}
#clock {
2023-07-16 16:15:24 +08:00
color: @cyan;
2022-06-25 21:26:38 +08:00
}
#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;
}