dotconfig/dot_config/waybar/style.css

206 lines
2.8 KiB
CSS

* {
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: 13px;
min-height: 0;
}
window#waybar {
background-color: black;
/* color: white;*/
transition-property: background-color;
transition-duration: .5s;
opacity: 0.7;
}
window#waybar.hidden {
opacity: 0.7;
}
#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 0px;
}
/* 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;
}
#bluetooth {
color: white;
}
#battery {
color: white;
border-radius: 20px 0px 0px 20px;
}
#battery.charging, #battery.plugged {
color: white;
}
@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;
}
#custom-launcher{
color: white;
font-size: 25px;
border-radius: 20px 0px 0px 20px;;
}
#taskbar {
border-radius: 20px 20px 20px 20px;
}
#temperature {
color: white;
}
#tray {
color: white;
}