NixOS-Configuration/common/users/cameron/home-manager/other-files/waybar.css

160 lines
2.8 KiB
CSS
Raw Normal View History

* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
}
window#waybar {
2024-01-27 06:06:43 +00:00
background-color: #333333;
/* border-bottom: 2px solid rgba(100, 114, 125, 0.85); */
color: #dddddd;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
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;
2024-01-27 06:06:43 +00:00
box-shadow: inset 0 -3px #cccccc;
}
#workspaces button {
2024-01-27 06:06:43 +00:00
padding: 0 2px;
background-color: transparent;
2024-01-27 06:06:43 +00:00
color: #dddddd;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
2024-01-27 06:06:43 +00:00
#workspaces button.active {
box-shadow: inset 0 -3px #ffa70a;
}
#workspaces button.focused {
background-color: #64727D;
2024-01-27 06:06:43 +00:00
box-shadow: inset 0 -3px #cccccc;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
padding: 0 10px;
2024-01-27 06:06:43 +00:00
border-left: 2px solid #FFA70A;
background-color: #444444;
color: #dddddd;
}
#window,
#workspaces {
margin: 0 4px;
}
2024-01-27 06:06:43 +00:00
.active,
#idle_inhibitor.activated,
#battery.charging, #battery.plugged,
#tray > .needs-attention {
background-color: #5f5f5f;
}
2024-01-27 06:06:43 +00:00
#network.disconnected,
#pulseaudio.muted {
background-color: #2a2a2a;
}
2024-01-27 06:06:43 +00:00
#temperature.critical {
background-color: #eb4d4b;
}
2024-01-27 06:06:43 +00:00
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
2024-01-27 06:06:43 +00:00
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
}
2024-01-27 06:06:43 +00:00
#window,
#workspaces label {
border: none;
background-color: transparent;
}