neodotfiles/new-config/.config/waybar/style.css

186 lines
3.3 KiB
CSS
Raw Normal View History

2023-02-22 00:02:06 +00:00
* {
2023-02-22 20:46:06 +00:00
margin-top: 2.5px;
margin-bottom: 2.5px;
margin-right: 2.5px;
margin-left: 2.5px;
2023-02-22 00:02:06 +00:00
font-family: mononoki Nerd Font, mononoki Nerd Font Mono;
2023-02-22 02:09:45 +00:00
font-size: 18px;
2023-02-22 00:02:06 +00:00
}
window#waybar {
2023-02-22 20:46:06 +00:00
background-color: rgba(29, 32, 33, 0.9);
2023-02-22 00:02:06 +00:00
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;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button {
padding: 0 5px;
background-color: transparent;
color: #ebdbb2;
}
#workspaces button.active {
2023-02-22 20:46:06 +00:00
background-color: rgba(204, 36, 29, 0.3);
2023-02-22 00:02:06 +00:00
color: #ebdbb2;
}
#workspaces button:hover {
2023-02-22 20:46:06 +00:00
background: #9d0006;
2023-02-22 00:02:06 +00:00
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ebdbb2;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#backlight,
#network,
#pulseaudio,
2023-02-22 20:46:06 +00:00
#language,
2023-02-22 00:02:06 +00:00
#mode,
#idle_inhibitor {
padding: 0 10px;
color: #ffffff;
}
#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 {
2023-02-22 20:46:06 +00:00
background-color: #3c3836;
color: #ebdbb2;
border-radius: 15px;
2023-02-22 00:02:06 +00:00
}
#battery {
background-color: #79740e;
color: #ebdbb2;
2023-02-22 20:46:06 +00:00
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
#battery.charging, #battery.plugged {
color: #ebdbb2;
background-color: #689d6a;
2023-02-22 20:46:06 +00:00
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #9d0006;
color: #ebdbb2;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
2023-02-22 20:46:06 +00:00
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
label:focus {
background-color: #ebdbb2;
}
#backlight {
background-color: #b57614;
2023-02-22 20:46:06 +00:00
color: #ebdbb2;
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
#network {
2023-02-22 02:09:45 +00:00
background-color: #9d0006;
2023-02-22 20:46:06 +00:00
color: #ebdbb2;
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
#network.disconnected {
2023-02-22 20:46:06 +00:00
background-color: #cc241d;
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
#pulseaudio {
background-color: #458588;
color: #ebdbb2;
2023-02-22 20:46:06 +00:00
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
#pulseaudio.muted {
background-color: #90b1b1;
color: #2a5c45;
2023-02-22 20:46:06 +00:00
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
#idle_inhibitor {
background-color: #d65d0e;
2023-02-22 20:46:06 +00:00
color: #ebdbb2;
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
#idle_inhibitor.activated {
background-color: #fe8019;
2023-02-22 20:46:06 +00:00
color: #3c3836;
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}
#language {
2023-02-22 20:46:06 +00:00
background-color: #8f3f71;
color: #ebdbb2;
border-radius: 6px;
2023-02-22 00:02:06 +00:00
}