171 lines
2.8 KiB
CSS
171 lines
2.8 KiB
CSS
* {
|
|
margin-top: 2px;
|
|
margin-bottom: 2px;
|
|
margin-right: 2.5px;
|
|
margin-left: 2.5px;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: rgba(26, 27, 38, 1);
|
|
color: #a9b1d6;
|
|
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: #a9b1d6;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#workspaces button.active {
|
|
color: #f7768e;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
color: #9ece6a;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: #ff9e64;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#mode {
|
|
background-color: #64727D;
|
|
border-bottom: 3px solid #ffffff;
|
|
}
|
|
|
|
#clock,
|
|
#custom-powerprofiles,
|
|
#battery,
|
|
#backlight,
|
|
#network,
|
|
#pulseaudio,
|
|
#language,
|
|
#mode,
|
|
#idle_inhibitor {
|
|
font-family: Symbols Nerd Font Mono, mononoki Nerd Font;
|
|
font-size: 16px;
|
|
padding: 0 8px;
|
|
color: #d5d6db;
|
|
margin-right: 0.5px;
|
|
margin-left: 0.5px;
|
|
}
|
|
|
|
#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: #34548a;
|
|
}
|
|
|
|
#battery {
|
|
background-color: #485e30;
|
|
}
|
|
|
|
#battery.charging, #battery.plugged {
|
|
background-color: #33635c;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
background-color: #ffffff;
|
|
color: #000000;
|
|
}
|
|
}
|
|
|
|
#battery.critical:not(.charging) {
|
|
background-color: #f7768e;
|
|
animation-name: blink;
|
|
animation-duration: 0.5s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
label:focus {
|
|
background-color: #c0caf5;
|
|
}
|
|
|
|
#backlight {
|
|
background-color: #8f5e15;
|
|
}
|
|
|
|
#network {
|
|
background-color: #8c4351;
|
|
}
|
|
|
|
#network.disconnected {
|
|
background-color: #f7768e;
|
|
}
|
|
|
|
#pulseaudio {
|
|
background-color: #0f4b6e;
|
|
}
|
|
|
|
#pulseaudio.muted {
|
|
background-color: #0f4b6e;
|
|
}
|
|
|
|
#idle_inhibitor {
|
|
background-color: #565a6e;
|
|
}
|
|
|
|
#idle_inhibitor.activated {
|
|
background-color: #343b58;
|
|
}
|
|
|
|
#language {
|
|
background-color: #5a4a78;
|
|
}
|
|
|
|
#custom-powerprofiles {
|
|
background-color: #166775;
|
|
}
|