.config/waybar/style.css
2025-09-08 00:09:38 +02:00

177 lines
3.1 KiB
CSS

@define-color background rgba(0, 0, 0, 0.6);
@define-color foreground white;
@define-color color7 white;
@define-color color9 red;
@define-color shadow rgba(0, 0, 0, 0.6);
@define-color shadow-light rgba(0, 0, 0, 0.5);
@define-color shadow-lighter rgba(0, 0, 0, 0.2);
@define-color charging #26A65B;
@define-color warning #ffbe61;
@define-color critical #f53c3c;
@define-color transparent transparent;
* {
font-size: 15px;
font-family: "CodeNewRoman Nerd Font Propo";
}
window#waybar {
all: unset;
}
.modules-left,
.modules-center,
.modules-right {
padding: 7px;
margin: 10px 0px 5px 10px;
border-radius: 10px;
background: @background;
box-shadow: 0px 0px 2px @shadow;
}
.modules-center {
margin-left: 0px;
}
.modules-right {
margin-left: 10px;
margin-right: 10px;
}
tooltip {
background: @background;
color: @color7;
}
#clock,
#custom-pacman,
#custom-notification,
#bluetooth,
#network,
#battery,
#cpu,
#memory,
#temperature,
#backlight,
#pulseaudio {
padding: 0 5px;
margin-left: 5px;
margin-right: 5px;
color: @color7;
transition: all 0.3s ease;
}
#clock:hover,
#custom-pacman:hover,
#custom-notification:hover,
#bluetooth:hover,
#network:hover,
#battery:hover,
#cpu:hover,
#memory:hover,
#temperature:hover {
color: @color9;
transition: all 0.3s ease;
}
#workspaces {
padding: 0px 5px;
}
#workspaces button {
all: unset;
padding: 0px 5px;
color: rgba(255, 0, 0, 0.4);
transition: all 0.2s ease;
}
#workspaces button:hover {
color: rgba(0, 0, 0, 0);
border: none;
text-shadow: 0px 0px 1.5px @shadow-light;
transition: all 1s ease;
}
#workspaces button.active {
color: @color9;
border: none;
text-shadow: 0px 0px 2px @shadow;
}
#workspaces button.empty {
color: rgba(0, 0, 0, 0);
border: none;
text-shadow: 0px 0px 1.5px @shadow-lighter;
}
#workspaces button.empty:hover {
color: rgba(0, 0, 0, 0);
border: none;
text-shadow: 0px 0px 1.5px @shadow-light;
transition: all 1s ease;
}
#workspaces button.empty.active {
color: @color9;
border: none;
text-shadow: 0px 0px 2px @shadow;
}
#battery.charging {
color: @charging;
}
#battery.warning:not(.charging) {
color: @warning;
}
#battery.critical:not(.charging) {
color: @critical;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#group-expand {
padding: 0px 5px;
transition: all 0.3s ease;
}
#custom-expand {
padding: 0px 5px;
color: rgba(255, 255, 255, 0.2);
text-shadow: 0px 0px 2px @shadow;
transition: all 0.3s ease;
}
#custom-expand:hover {
color: rgba(255, 255, 255, 0.2);
text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
}
#custom-colorpicker {
padding: 0px 5px;
}
#custom-endpoint {
color: @transparent;
text-shadow: 0px 0px 1.5px rgba(0, 0, 0, 1);
}
#tray {
padding: 0px 5px;
transition: all 0.3s ease;
}
#tray menu * {
padding: 0px 5px;
transition: all 0.3s ease;
}
#tray menu separator {
padding: 0px 5px;
transition: all 0.3s ease;
}