162 lines
2.5 KiB
CSS
162 lines
2.5 KiB
CSS
@define-color color0 #2e3440;
|
|
@define-color color1 #3b4252;
|
|
@define-color color2 #434c5e;
|
|
@define-color color3 #4c566a;
|
|
|
|
* {
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
|
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
|
font-size: 13px;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: @color0;
|
|
color: #ffffff;
|
|
margin-top: 0.6em;
|
|
}
|
|
|
|
window#waybar.hidden {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
/*--- Workspaces ---*/
|
|
#workspaces button {
|
|
/* Use box-shadow instead of border so the text isn't offset */
|
|
box-shadow: inset 0 -3px transparent;
|
|
|
|
border: none;
|
|
border-radius: 4px;
|
|
|
|
padding: 0 5px;
|
|
background-color: transparent;
|
|
color: #ffffff;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
background: @color2;
|
|
|
|
/* Disble clicking effect */
|
|
box-shadow: inherit;
|
|
text-shadow: inherit;
|
|
}
|
|
|
|
#workspaces button.focused {
|
|
background-color: @color3;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#workspaces button.active{
|
|
background-color: @color3;
|
|
}
|
|
|
|
/*--- Each module ---*/
|
|
#custom-playerctl,
|
|
#custom-swaync,
|
|
#clock,
|
|
#pulseaudio,
|
|
#wireplumber,
|
|
#custom-media,
|
|
#tray,
|
|
#mode,
|
|
#idle_inhibitor{
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: #ffffff;
|
|
padding-left: 0.6em;
|
|
padding-right: 0.6em;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
|
|
#window,
|
|
#workspaces {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
/* Module style */
|
|
|
|
#clock {
|
|
background-color: #64727D;
|
|
}
|
|
|
|
|
|
label:focus {
|
|
background-color: #000000;
|
|
}
|
|
|
|
#pulseaudio {
|
|
background-color: #f1c40f;
|
|
color: #000000;
|
|
}
|
|
|
|
#pulseaudio.muted {
|
|
background-color: #90b1b1;
|
|
color: #2a5c45;
|
|
}
|
|
|
|
#wireplumber {
|
|
background-color: #fff0f5;
|
|
color: #000000;
|
|
}
|
|
|
|
#wireplumber.muted {
|
|
background-color: #f53c3c;
|
|
}
|
|
|
|
#custom-media {
|
|
background-color: #66cc99;
|
|
color: #2a5c45;
|
|
min-width: 100px;
|
|
}
|
|
|
|
#custom-media.custom-spotify {
|
|
background-color: #66cc99;
|
|
}
|
|
|
|
#tray {
|
|
background-color: #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;
|
|
}
|
|
|
|
#custom-playerctl {
|
|
padding: 0 10px;
|
|
background-color: #1DB954; /*Spotify green*/
|
|
}
|
|
|
|
#custom-swaync {
|
|
font-family: "NotoSansMono Nerd Font";
|
|
padding: 0 10px;
|
|
color: #ffffff;
|
|
font-size: 17px;
|
|
}
|
|
|