153 lines
2.7 KiB
CSS
153 lines
2.7 KiB
CSS
|
/* @import "colorscheme.css"; */
|
||
|
|
||
|
* {
|
||
|
border: none;
|
||
|
border-radius: 0;
|
||
|
min-height: 0;
|
||
|
}
|
||
|
|
||
|
window#waybar {
|
||
|
font-size: 15px;
|
||
|
color: #d5c4a1;
|
||
|
background-color: #32302f;
|
||
|
border-bottom: 1px solid #3c3836;
|
||
|
transition-property: background-color;
|
||
|
transition-duration: .5s;
|
||
|
}
|
||
|
|
||
|
window#waybar.hidden {
|
||
|
opacity: 0.2;
|
||
|
}
|
||
|
|
||
|
#tags button {
|
||
|
font-size:17px;
|
||
|
font-weight:900;
|
||
|
background-color: transparent;
|
||
|
color: #665c54;
|
||
|
margin: 0px;
|
||
|
padding: 0px 5px;
|
||
|
/* Use box-shadow instead of border so the text isn't offset */
|
||
|
}
|
||
|
/* /1* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect *1/ */
|
||
|
#tags button:hover {
|
||
|
background: rgba(0, 0, 0, 0.2);
|
||
|
/* box-shadow: inset 0 -1px #d5c4a1; */
|
||
|
box-shadow: inset 0 0;
|
||
|
}
|
||
|
#tags button.occupied {
|
||
|
font-weight: 400;
|
||
|
color: #d5c4a1;
|
||
|
}
|
||
|
#tags button.focused {
|
||
|
font-weight: 400;
|
||
|
color: #83a598;
|
||
|
}
|
||
|
#tags button.urgent {
|
||
|
color: #8ec07c;
|
||
|
}
|
||
|
|
||
|
#clock,
|
||
|
#battery,
|
||
|
#cpu,
|
||
|
#memory,
|
||
|
#disk,
|
||
|
#temperature,
|
||
|
#backlight,
|
||
|
#network,
|
||
|
#pulseaudio,
|
||
|
#tray,
|
||
|
#mode,
|
||
|
#idle_inhibitor,
|
||
|
#mpd,
|
||
|
#custom-archupdates,
|
||
|
#custom-wireguard,
|
||
|
#custom-events,
|
||
|
#custom-media {
|
||
|
padding: 0 10px;
|
||
|
margin: 0 5px;
|
||
|
color: #d5c4a1;
|
||
|
background-color: #3c3836;
|
||
|
}
|
||
|
|
||
|
/* If workspaces is the leftmost module, omit left margin */
|
||
|
.modules-left > widget:first-child > #tags {
|
||
|
margin-left: 0;
|
||
|
}
|
||
|
|
||
|
/* If workspaces is the rightmost module, omit right margin */
|
||
|
.modules-right > widget:last-child > #tags {
|
||
|
margin-right: 0;
|
||
|
}
|
||
|
|
||
|
#battery.charging, #battery.plugged {
|
||
|
background-color: #504945;
|
||
|
}
|
||
|
|
||
|
#battery.warning {
|
||
|
background-color: #fe8019;
|
||
|
color: #32302f;
|
||
|
}
|
||
|
|
||
|
@keyframes blink {
|
||
|
to {
|
||
|
background-color: #fb4934;
|
||
|
color: #32302f;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#battery.critical:not(.charging) {
|
||
|
color: #d5c4a1;
|
||
|
background-color: #32302f;
|
||
|
animation-name: blink;
|
||
|
animation-duration: 0.5s;
|
||
|
animation-timing-function: linear;
|
||
|
animation-iteration-count: infinite;
|
||
|
animation-direction: alternate;
|
||
|
}
|
||
|
|
||
|
#cpu.warning {
|
||
|
color: #32302f;
|
||
|
background-color: #fabd2f;
|
||
|
}
|
||
|
#cpu.critical {
|
||
|
color: #d5c4a1;
|
||
|
background-color: #fb4934;
|
||
|
}
|
||
|
|
||
|
#custom-archupdates.empty {
|
||
|
background-color: transparent;
|
||
|
color: transparent;
|
||
|
font-size: 0;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
#custom-wireguard.disconnected {
|
||
|
background-color: transparent;
|
||
|
color: transparent;
|
||
|
font-size: 0;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
#temperature.critical {
|
||
|
background-color: #fb4934;
|
||
|
}
|
||
|
|
||
|
#tray > .passive {
|
||
|
-gtk-icon-effect: dim;
|
||
|
}
|
||
|
|
||
|
|
||
|
#tray > .needs-attention {
|
||
|
-gtk-icon-effect: highlight;
|
||
|
}
|
||
|
|
||
|
#mpd.disconnected {
|
||
|
background-color: transparent;
|
||
|
color: transparent;
|
||
|
font-size: 0;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|