Files
dotfiles/.config/waybar/style.css
2024-06-27 15:59:51 +02:00

194 lines
3.0 KiB
CSS

* {
font-family: "Mono";
font-size: 9pt;
font-weight: 600;
padding: 0;
transition-property: background-color;
transition-duration: 0.5s;
border: none;
border-radius: 3px;
min-height: 0;
margin: 0.2em 0.2em 0.2em 0.2em;
}
/* The whole bar */
#waybar {
/*background: @bg;*/
background-color: transparent;
/*color: @light;*/
color: #ffffff;
transition-property: background-color;
transition-duration: 0.5s;
/*border-top: 8px transparent;*/
border-radius: 0px;
margin: 0px 0px;
}
window#waybar.hidden {
opacity: 0.2;
}
#workspaces button {
padding: 0 0px;
color: #7984a4;
background-color: transparent;
box-shadow: inset 0 -3px transparent;
border: none;
border-radius: 0;
}
#workspaces button.focused {
background-color: transparent;
}
#workspace button.hover {
background-color: transparent;
}
#workspaces button.active {
color: #fff;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#window {
color: #64727d;
}
/* Each module */
#clock,
#battery,
#cpu,
#memory,
#disk,
#network,
#pulseaudio,
#wireplumber,
#custom-screenshot_t,
#tray,
#mode,
#idle_inhibitor,
#bluetooth,
#custom-hyprPicker,
#custom-power-menu,
#custom-power {
padding: 0px 15px;
color: #e5e5e5;
/* color: #bf616a; */
border-radius: 20px;
background-color: #1e1e1e;
}
#window,
#workspaces {
border-radius: 20px;
padding: 0px 10px;
background-color: #1e1e1e;
}
#cpu {
color: #fb958b;
background-color: #1e1e1e;
}
#memory {
color: #ebcb8b;
background-color: #1e1e1e;
}
#custom-power-menu {
border-radius: 9.5px;
background-color: #1b242b;
border-radius: 7.5px;
padding: 0 0px;
}
#custom-launcher {
background-color: #1b242b;
color: #6a92d7;
border-radius: 7.5px;
padding: 0 0px;
}
/* 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;
}
#pulseaudio {
color: #7d9bba;
}
#clock {
color: #c8d2e0;
}
#battery {
color: #c0caf5;
}
#battery.charging,
#battery.full,
#battery.plugged {
color: #26a65b;
}
@keyframes blink {
to {
background-color: rgba(30, 34, 42, 0.5);
color: #abb2bf;
}
}
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
}
#bluetooth {
color: #707d9d;
}
/* #bluetooth.disconnected {
color: #f53c3c;
} */
#network {
color: #b48ead;
}
/* #network.disconnected {
color: #f53c3c;
} */
#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;
}