300 lines
4.8 KiB
CSS
300 lines
4.8 KiB
CSS
* {
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
|
font-family:
|
|
"Hurmit Nerd Font", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
|
font-size: 1.1rem;
|
|
margin: 0;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: rgba(43, 48, 59, 0);
|
|
color: rgb(204, 204, 204);
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
}
|
|
|
|
window#waybar.hidden {
|
|
opacity: 0;
|
|
}
|
|
|
|
.modules-left,
|
|
.modules-center,
|
|
.modules-right {
|
|
/*background-color: black; rgba(255, 255, 255, 1);*/
|
|
border-top: 1px solid;
|
|
border-radius: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
/*
|
|
window#waybar.empty {
|
|
background-color: transparent;
|
|
}
|
|
window#waybar.solo {
|
|
background-color: #FFFFFF;
|
|
}
|
|
*/
|
|
|
|
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: 0px;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
/* 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,
|
|
#workspaces button.empty,
|
|
#workspaces button.active,
|
|
#workspaces button.special,
|
|
#workspaces button.special.empty,
|
|
#workspaces button.special.active {
|
|
background-color: rgba(0, 0, 0, 1);
|
|
/* border-radius: 8px; */
|
|
border: 1px solid transparent; /*avoid jumping by always having a border*/
|
|
color: #ffffff;
|
|
padding: 0px 5px 2px 5px;
|
|
transition: linear 0.1s;
|
|
}
|
|
|
|
#workspaces button.urgent,
|
|
#workspaces button.special.urgent {
|
|
background-color: rgba(250, 17, 55, 0.6);
|
|
}
|
|
|
|
#workspaces button.empty {
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
border: 1px solid rgba(40, 220, 255, 0.8);
|
|
box-shadow: inset 0 0 0 0 transparent;
|
|
padding: 1px 5px 1px 5px;
|
|
}
|
|
#workspaces button.special.active,
|
|
#workspaces button.active {
|
|
background-color: rgba(0, 0, 0, 1);
|
|
color: rgba(40, 240, 255, 0.9);
|
|
padding: 2px 5px 0px 5px;
|
|
}
|
|
|
|
/*#workspaces button.active {
|
|
border-top: 2px solid white;
|
|
padding-top: 1px;
|
|
}*/
|
|
|
|
#workspaces {
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
/*border: 1px solid;*/
|
|
border-radius: 8px;
|
|
padding: 1px;
|
|
}
|
|
|
|
#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,
|
|
#language,
|
|
#mpd {
|
|
padding: 0 6px;
|
|
color: #909090;
|
|
border-radius: 0px;
|
|
border-top: 1rem;
|
|
border: solid;
|
|
margin: 0px;
|
|
border-bottom: 0rem;
|
|
}
|
|
#backlight,
|
|
#battery,
|
|
#clock,
|
|
#tray {
|
|
color: #eeeeee;
|
|
}
|
|
|
|
/*#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 {
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-radius: 0px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#battery.charging,
|
|
#battery.plugged {
|
|
background-color: #26a65b;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
background-color: #ffffff;
|
|
}
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
#cpu,
|
|
#battery,
|
|
#temperature,
|
|
#memory {
|
|
border-top: solid 2px #1de8d1;
|
|
margin: 0;
|
|
}
|
|
|
|
/*#memory {
|
|
border-top: solid 2px #9b59b6;
|
|
}*/
|
|
|
|
#backlight {
|
|
border-top: solid 2px #d1f2f2;
|
|
}
|
|
|
|
#pulseaudio {
|
|
border-top: 2px #f1c40f;
|
|
color: #1acbc4;
|
|
}
|
|
|
|
#pulseaudio.muted {
|
|
border-top: 2px #90b1b1;
|
|
color: #01534c;
|
|
}
|
|
|
|
#wireplumber {
|
|
color: #000000;
|
|
}
|
|
|
|
#custom-media {
|
|
/*background-color: #66cc99;*/
|
|
color: #2a5c45;
|
|
min-width: 100px;
|
|
}
|
|
|
|
#custom-media.custom-spotify {
|
|
/*background-color: #66cc99;*/
|
|
}
|
|
|
|
#custom-media.custom-vlc {
|
|
/*background-color: #ffa000;*/
|
|
}
|
|
|
|
#temperature.critical {
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#tray {
|
|
border-top: 2px #2980b9;
|
|
}
|
|
|
|
#tray > .passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
#tray > .needs-attention {
|
|
-gtk-icon-effect: highlight;
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#idle_inhibitor {
|
|
background-color: #2d3436;
|
|
}
|
|
|
|
/* #idle_inhibitor.activated { */
|
|
/* background-color: #ecf0f1; */
|
|
/* color: #2d3436; */
|
|
/* } */
|
|
|
|
#mpd {
|
|
background-color: #66cc99;
|
|
color: #2a5c45;
|
|
}
|
|
|
|
#mpd.disconnected {
|
|
background-color: #f53c3c;
|
|
}
|
|
|
|
#mpd.stopped {
|
|
background-color: #90b1b1;
|
|
}
|
|
|
|
#mpd.paused {
|
|
background-color: #51a37a;
|
|
}
|
|
|
|
#language {
|
|
border-top: 2px #df73cf;
|
|
color: #909090;
|
|
padding: 0 5px;
|
|
min-width: 16px;
|
|
}
|
|
|
|
#keyboard-state {
|
|
border-top: 2px #97e1ad;
|
|
padding: 0 0px;
|
|
min-width: 16px;
|
|
}
|
|
|
|
#keyboard-state > label {
|
|
padding: 0 5px;
|
|
}
|
|
|
|
#keyboard-state > label.locked {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#scratchpad {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#scratchpad.empty {
|
|
background-color: transparent;
|
|
}
|