neodotfiles/user/.config/waybar/style.css

164 lines
2.7 KiB
CSS
Raw Normal View History

2023-02-22 00:02:06 +00:00
* {
2024-03-09 16:25:07 +00:00
margin-top: 3px;
margin-bottom: 3px;
2023-02-22 00:02:06 +00:00
}
window#waybar {
2023-06-18 18:26:38 +00:00
background-color: rgb(29, 32, 33);
2024-03-25 21:10:01 +00:00
border-right: 3px solid #504945;
2023-06-18 18:26:38 +00:00
color: #ebdbb2;
2023-02-22 00:02:06 +00:00
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;
}
2023-03-31 13:34:13 +00:00
#workspaces {
font-family: Symbols Nerd Font Mono;
2024-03-13 14:32:52 +00:00
font-size: 24px;
2024-03-11 05:55:31 +00:00
margin-right: 5px;
margin-left: 5px;
2023-03-31 13:34:13 +00:00
}
2023-02-22 00:02:06 +00:00
#workspaces button {
2024-03-08 21:49:38 +00:00
padding: 0 3px;
background-color: transparent;
2023-06-18 18:26:38 +00:00
color: #ebdbb2;
2023-02-22 00:02:06 +00:00
}
#workspaces button.active {
2024-03-11 05:55:31 +00:00
color: #fb4934;
2024-03-08 21:49:38 +00:00
border-radius: 5px;
2023-02-22 00:02:06 +00:00
}
#workspaces button:hover {
2024-03-11 05:55:31 +00:00
color: #8ec07c;
2024-03-08 21:49:38 +00:00
border-radius: 5px;
2023-02-22 00:02:06 +00:00
}
#workspaces button.urgent {
2023-06-18 18:26:38 +00:00
background-color: #eb4d4b;
2024-03-08 21:49:38 +00:00
border-radius: 5px;
2023-02-22 00:02:06 +00:00
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
2023-02-25 16:12:09 +00:00
#custom-powerprofiles,
2023-02-22 00:02:06 +00:00
#battery,
#backlight,
#network,
#pulseaudio,
2023-02-22 20:46:06 +00:00
#language,
#mode {
2023-04-24 00:01:47 +00:00
font-family: Symbols Nerd Font Mono, mononoki Nerd Font;
2024-03-13 14:32:52 +00:00
font-size: 18px;
2024-03-25 21:10:01 +00:00
padding: 8px 8px;
2023-06-18 18:26:38 +00:00
color: #ebdbb2;
2024-03-25 21:10:01 +00:00
border-radius: 4px;
2024-03-13 14:32:52 +00:00
margin-left: 10px;
margin-right: 12px;
2023-02-22 00:02:06 +00:00
}
#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-06-18 18:26:38 +00:00
background-color: #504945;
2023-02-22 00:02:06 +00:00
}
#battery {
2023-06-18 18:26:38 +00:00
background-color: #79740e;
2023-02-22 00:02:06 +00:00
}
#battery.charging, #battery.plugged {
2023-06-18 18:26:38 +00:00
background-color: #98971a;
2023-02-22 00:02:06 +00:00
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
2023-06-18 18:26:38 +00:00
background-color: #9d0006;
2023-02-22 00:02:06 +00:00
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
2023-06-18 18:26:38 +00:00
background-color: #ebdbb2;
2023-02-22 00:02:06 +00:00
}
#backlight {
2023-06-18 18:26:38 +00:00
background-color: #b57614;
2023-02-22 00:02:06 +00:00
}
#network {
2023-06-18 18:26:38 +00:00
background-color: #9d0006;
2023-02-22 00:02:06 +00:00
}
#network.disconnected {
2023-06-18 18:26:38 +00:00
background-color: #9d0006;
2023-02-22 00:02:06 +00:00
}
#pulseaudio {
2023-06-18 18:26:38 +00:00
background-color: #076678;
2023-02-22 00:02:06 +00:00
}
#pulseaudio.muted {
2023-06-18 18:26:38 +00:00
background-color: #076678;
2023-02-22 00:02:06 +00:00
}
#language {
2023-06-18 18:26:38 +00:00
background-color: #8f3f71;
2023-02-22 00:02:06 +00:00
}
2023-02-25 16:12:09 +00:00
#custom-powerprofiles {
2023-06-18 18:26:38 +00:00
background-color: #427b58;
2023-02-25 16:12:09 +00:00
}