160 lines
2.7 KiB
CSS
160 lines
2.7 KiB
CSS
* {
|
|
margin-top: 2px;
|
|
margin-bottom: 2px;
|
|
margin-right: 2px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: rgb(29, 32, 33);
|
|
color: #ebdbb2;
|
|
transition-property: background-color;
|
|
transition-duration: .5s;
|
|
}
|
|
|
|
window#waybar.hidden {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
window#waybar.termite {
|
|
background-color: #3F3F3F;
|
|
}
|
|
|
|
window#waybar.chromium {
|
|
background-color: #000000;
|
|
border: none;
|
|
}
|
|
|
|
button {
|
|
/* Use box-shadow instead of border so the text isn't offset */
|
|
box-shadow: inset 0 -3px transparent;
|
|
/* Avoid rounded borders under each button name */
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
button:hover {
|
|
background: inherit;
|
|
}
|
|
|
|
#workspaces {
|
|
font-family: Symbols Nerd Font Mono;
|
|
font-size: 20px;
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 0 3px;
|
|
background-color: transparent;
|
|
color: #ebdbb2;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#workspaces button.active {
|
|
color: #8ec07c;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
color: #fb4934;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: #eb4d4b;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#mode {
|
|
background-color: #64727D;
|
|
border-bottom: 3px solid #ffffff;
|
|
}
|
|
|
|
#clock,
|
|
#custom-powerprofiles,
|
|
#battery,
|
|
#backlight,
|
|
#network,
|
|
#pulseaudio,
|
|
#language,
|
|
#mode {
|
|
font-family: Symbols Nerd Font Mono, mononoki Nerd Font;
|
|
font-size: 16px;
|
|
padding: 8 6px;
|
|
color: #ebdbb2;
|
|
}
|
|
|
|
#window,
|
|
#workspaces {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
/* If workspaces is the leftmost module, omit left margin */
|
|
.modules-left > widget:first-child > #workspaces {
|
|
margin-left: 0;
|
|
}
|
|
|
|
/* If workspaces is the rightmost module, omit right margin */
|
|
.modules-right > widget:last-child > #workspaces {
|
|
margin-right: 0;
|
|
}
|
|
|
|
#clock {
|
|
background-color: #504945;
|
|
}
|
|
|
|
#battery {
|
|
background-color: #79740e;
|
|
}
|
|
|
|
#battery.charging, #battery.plugged {
|
|
background-color: #98971a;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
background-color: #ffffff;
|
|
color: #000000;
|
|
}
|
|
}
|
|
|
|
#battery.critical:not(.charging) {
|
|
background-color: #9d0006;
|
|
animation-name: blink;
|
|
animation-duration: 0.5s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
label:focus {
|
|
background-color: #ebdbb2;
|
|
}
|
|
|
|
#backlight {
|
|
background-color: #b57614;
|
|
}
|
|
|
|
#network {
|
|
background-color: #9d0006;
|
|
}
|
|
|
|
#network.disconnected {
|
|
background-color: #9d0006;
|
|
}
|
|
|
|
#pulseaudio {
|
|
background-color: #076678;
|
|
}
|
|
|
|
#pulseaudio.muted {
|
|
background-color: #076678;
|
|
}
|
|
|
|
#language {
|
|
background-color: #8f3f71;
|
|
}
|
|
|
|
#custom-powerprofiles {
|
|
background-color: #427b58;
|
|
}
|