dotfiles-remastered/.config/waybar/style.css
2023-12-02 00:00:56 +01:00

121 lines
1.8 KiB
CSS

@import url("colors.css");
* {
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
/*border-radius: 24px;*/
min-height: 0;
}
window#waybar {
background-color: @bg;
/*border-radius: 24px;*/ /* Have bar itself rounded */
color: @text;
}
window#waybar.hidden {
opacity: 0.2;
}
/*--- Workspaces ---*/
#workspaces{
border-radius: 24px;
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;
background-color: @focus;
}
/*--- 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;
}
*/
#tray > .passive {
-gtk-icon-effect: dim;
}
#custom-swaync {
font-family: "NotoSansMono Nerd Font";
padding: 0 10px;
color: @text;
font-size: 17px;
}