dotfiles-remastered/.config/waybar/style.css

162 lines
2.5 KiB
CSS
Raw Normal View History

2023-10-25 20:45:26 +00:00
@define-color color0 #2e3440;
@define-color color1 #3b4252;
@define-color color2 #434c5e;
@define-color color3 #4c566a;
2023-05-05 13:35:28 +00:00
* {
2023-10-25 20:45:26 +00:00
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
2023-05-05 13:35:28 +00:00
}
window#waybar {
2023-10-25 20:45:26 +00:00
background-color: @color0;
color: #ffffff;
margin-top: 0.6em;
2023-05-05 13:35:28 +00:00
}
window#waybar.hidden {
2023-10-25 20:45:26 +00:00
opacity: 0.2;
2023-05-05 13:35:28 +00:00
}
2023-10-25 20:45:26 +00:00
/*--- Workspaces ---*/
#workspaces button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
2023-05-05 13:35:28 +00:00
2023-10-25 20:45:26 +00:00
border: none;
border-radius: 4px;
2023-05-05 13:35:28 +00:00
2023-10-25 20:45:26 +00:00
padding: 0 5px;
background-color: transparent;
color: #ffffff;
2023-05-05 13:35:28 +00:00
}
#workspaces button:hover {
2023-10-25 20:45:26 +00:00
background: @color2;
/* Disble clicking effect */
box-shadow: inherit;
text-shadow: inherit;
2023-05-05 13:35:28 +00:00
}
#workspaces button.focused {
2023-10-25 20:45:26 +00:00
background-color: @color3;
2023-05-05 13:35:28 +00:00
}
#workspaces button.urgent {
2023-10-25 20:45:26 +00:00
background-color: #eb4d4b;
2023-05-05 13:35:28 +00:00
}
2023-10-25 20:45:26 +00:00
#workspaces button.active{
background-color: @color3;
2023-05-05 13:35:28 +00:00
}
2023-10-25 20:45:26 +00:00
/*--- Each module ---*/
#custom-playerctl,
#custom-swaync,
2023-05-05 13:35:28 +00:00
#clock,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
2023-10-25 20:45:26 +00:00
#idle_inhibitor{
border: none;
border-radius: 4px;
color: #ffffff;
padding-left: 0.6em;
padding-right: 0.6em;
2023-05-05 13:35:28 +00:00
}
/* 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;
}
2023-10-25 20:45:26 +00:00
#window,
#workspaces {
margin: 0 4px;
2023-05-05 13:35:28 +00:00
}
2023-10-25 20:45:26 +00:00
/* Module style */
2023-05-05 13:35:28 +00:00
2023-10-25 20:45:26 +00:00
#clock {
background-color: #64727D;
2023-05-05 13:35:28 +00:00
}
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;
}