dotconfig/dot_config/waybar/style.css

190 lines
2.8 KiB
CSS
Raw Normal View History

2022-06-24 20:34:06 +08:00
* {
border: none;
border-radius: 0px;
/* `otf-font-awesome` is required to be installed for icons */
font-family: JetBrains Mono, Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
2022-06-24 20:34:06 +08:00
min-height: 0;
}
window#waybar {
background-color: black;
/* 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
}
window#waybar.hidden {
opacity: 0.7;
2022-06-24 20:34:06 +08:00
}
#workspaces button {
background: #f9f06b;
color: white;
border-radius: 20px;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
background: lightblue;
color: white;
border-bottom: 3px solid white;
}
#workspaces button.focused {
background: #f9f06b;
color: white;
}
#workspaces button.focused:hover {
background: lightblue;
color: white;
border-bottom: 3px solid white;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid white;
}
#clock,
#custom-power,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#network,
#pulseaudio,
#custom-media,
#custom-launcher,
#custom-update,
#custom-layout,
#taskbar,
#tray,
#mode,
#bluetoth {
padding: 0 10px;
color: black;
}
#window,
#workspaces {
margin: 0px 4px;
2022-06-24 20:34:06 +08:00
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0px;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0px;
}
#clock {
color: white;
}
#custom-power {
color: white;
/* border-radius: 0px 20px 20px 0px;*/
2022-06-24 20:34:06 +08:00
}
#bluetooth {
color: white;
}
#battery {
color: white;
/* border-radius: 20px 0px 0px 20px;*/
2022-06-24 20:34:06 +08:00
}
#battery.charging, #battery.plugged {
color: white;
2022-06-24 20:34:06 +08:00
}
@keyframes blink {
to {
background-color: #268bd2;
color: white;
}
}
#battery.critical:not(.charging) {
color: white;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #f9f06b;
}
#cpu {
color: white;
}
#memory {
color: white;
}
#disk {
color: white;
}
#network {
color: white;
}
#network.disconnected {
color: white;
}
#pulseaudio {
color: white;
}
#pulseaudio.muted {
color: white;
}
#custom-update{
color: white;
font-size: 18px;
/* border-radius: 0px 20px 20px 0px;*/
2022-06-24 20:34:06 +08:00
}
#custom-launcher{
2022-06-24 20:34:06 +08:00
color: white;
font-size: 25px;
/* border-radius: 20px 0px 0px 20px;;*/
2022-06-24 20:34:06 +08:00
}
#taskbar {
/* border-radius: 20px 20px 20px 20px;*/
2022-06-24 20:34:06 +08:00
}
#temperature {
color: white;
}
#tray {
color: white;
}