waybar-dotfiles/style.css
2024-12-04 21:36:23 +04:00

153 lines
1.9 KiB
CSS

@import "mocha.css";
* {
border: none;
border-radius: 0;
font-family: "Noto Nerd Font";
font-size: 13px;
min-height: 0;
}
window#waybar {
background: alpha(@surface0, 0.7);
color: @text;
}
#window {
font-weight: bold;
font-family: "Noto";
}
/*
#workspaces {
padding: 0 5px;
}
*/
.modules-left {
background: @base;
border-radius: 10px;
margin-left: -10px;
padding: 0 10px;
}
.modules-right {
background: @base;
border-radius: 10px;
margin-right: -10px;
padding: 0 10px;
}
.modules-center {
background: @base;
border-radius: 10px;
margin-right: 5px;
margin-left: 5px;
padding: 0 10px;
}
#power {
padding: 0 2px;
color: @red;
}
#custom-reboot {
color: @flamingo
}
#custom-exit {
color: @peach
}
#custom-lock {
color: @flamingo
}
#workspaces button {
padding: 0 5px;
background: transparent;
color: @text;
border-top: 2px solid @surface0;
}
#workspaces button.focused {
color: @text;
border-top: 2px solid @text;
}
#workspaces button.active {
color: @green;
border-top: 2px solid @green;
}
#workspaces button.urgent {
border-color: @red;
color: @red;
border-top: 2px solid @red;
}
#modules-right {
background: @base;
}
#language, #clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode {
padding: 0 5px;
margin: 0 2px;
}
#clock {
font-weight: bold;
}
#battery {
}
#battery icon {
color: red;
}
#battery.charging {
}
@keyframes blink {
to {
background-color: #ffffff;
color: black;
}
}
#battery.warning:not(.charging) {
color: white;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#cpu {
}
#memory {
}
#network {
}
#network.disconnected {
color: @red;
}
#pulseaudio {
}
#pulseaudio.muted {
}
#custom-spotify {
color: rgb(102, 220, 105);
}
#tray {
}