dotconfig/dot_config/waybar/style.css

61 lines
1.0 KiB
CSS
Raw Normal View History

2022-06-24 20:34:06 +08:00
* {
border: none;
border-radius: 0px;
2022-08-23 00:01:02 +08:00
font-family: JetBrains Mono, Cantarell, Arial;
font-size: 15px;
2022-06-24 20:34:06 +08:00
min-height: 0;
}
window#waybar {
background-color: #2c2c2c;
2022-08-23 00:01:02 +08:00
color: white;
2022-06-24 20:34:06 +08:00
transition-property: background-color;
transition-duration: .5s;
opacity: 0.7;
2022-06-24 20:34:06 +08:00
}
2022-08-23 00:01:02 +08:00
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0px;
2022-06-24 20:34:06 +08:00
}
2022-08-23 00:01:02 +08:00
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0px;
2022-06-24 20:34:06 +08:00
}
2022-08-23 00:01:02 +08:00
#mode,
2022-06-24 20:34:06 +08:00
#clock,
2022-08-23 00:01:02 +08:00
#custom-launcher,
2022-06-24 20:34:06 +08:00
#custom-power,
2022-08-23 00:01:02 +08:00
#custom-update,
2022-06-24 20:34:06 +08:00
#battery,
2022-08-23 00:01:02 +08:00
#bluetoth,
2022-06-24 20:34:06 +08:00
#cpu,
#memory,
2022-08-23 00:01:02 +08:00
#mode,
2022-06-24 20:34:06 +08:00
#network,
#pulseaudio,
#taskbar,
2022-08-23 00:01:02 +08:00
#tray{
2022-06-24 20:34:06 +08:00
padding: 0 10px;
color: white;
}
#custom-power{
font-size: 18px;
2022-06-24 20:34:06 +08:00
}
2022-08-23 00:01:02 +08:00
#custom-update,
#custom-launcher{
font-size: 17px;
2022-06-24 20:34:06 +08:00
}
#battery.critical:not(.charging) {
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}