194 lines
2.8 KiB
CSS
194 lines
2.8 KiB
CSS
@define-color color0 #2e3440;
|
|
@define-color bg #2e3440;
|
|
@define-color fg #323f2d;
|
|
@define-color focus #3b5631;
|
|
@define-color text #ffffff;
|
|
@define-color border #f4d9e1;
|
|
|
|
* {
|
|
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
|
font-size: 13px;
|
|
border-radius: 24px;
|
|
min-height: 0;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: @bg;
|
|
color: @text;
|
|
}
|
|
|
|
window#waybar.hidden {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
/*--- Workspaces ---*/
|
|
#workspaces{
|
|
border: solid 1px @border;
|
|
|
|
margin-top: 2px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
#workspaces button {
|
|
border: none;
|
|
border-radius: 24px;
|
|
|
|
|
|
padding: 0 5px;
|
|
background-color: transparent;
|
|
color: @text;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
background: @fg;
|
|
|
|
/* Disble clicking effect */
|
|
box-shadow: inherit;
|
|
text-shadow: inherit;
|
|
}
|
|
|
|
#workspaces button.focused {
|
|
background-color: @focus;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#workspaces button.active{
|
|
background-color: @focus;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
/*--- Groups ---*/
|
|
#audio, #system, #idle_inhibitor {
|
|
border: solid 1px @border;
|
|
border-radius: 24px;
|
|
margin-top: 2px;
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
/*--- Each module ---*/
|
|
#custom-playerctl,
|
|
#custom-swaync,
|
|
#clock,
|
|
#pulseaudio,
|
|
#wireplumber,
|
|
#custom-media,
|
|
#tray,
|
|
#mode,
|
|
#idle_inhibitor{
|
|
color: @text;
|
|
|
|
|
|
padding-left: 6px;
|
|
padding-right: 6px;
|
|
}
|
|
|
|
|
|
.modules-left{
|
|
padding-left: 3px;
|
|
}
|
|
|
|
.modules-right{
|
|
padding-right: 3px;
|
|
}
|
|
|
|
/* 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 > .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;
|
|
}
|
|
*/
|
|
#tray > .passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
|
|
#custom-swaync {
|
|
font-family: "NotoSansMono Nerd Font";
|
|
padding: 0 10px;
|
|
color: @text;
|
|
font-size: 17px;
|
|
}
|
|
|