waybar-dotfiles/style.css

172 lines
2.2 KiB
CSS

@import "mocha.css";
@define-color text @teal;
* {
border: none;
border-radius: 0;
font-family: "Noto Nerd Font";
font-size: 13px;
min-height: 0;
}
window#waybar {
background: @surface0;
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;
}
#clock {
padding: 0 10px;
margin: 0 1px;
background: alpha(@mauve,0.2);
border-radius: 5px;
font-weight: bold;
}
#language, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode {
padding: 0 10px;
margin: 0 1px;
}
#clock {
}
#battery {
}
#battery icon {
color: @red;
}
@keyframes critical {
to {
color: @red;
}
}
@keyframes good {
to {
color: @blue;
}
}
#battery.charging {
color: @text;
animation-name: good;
animation-duration: 3.5s;
animation-timing-function: ease-out;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery.warning:not(.charging) {
color: @text;
animation-name: critical;
animation-duration: 1.5s;
animation-timing-function: ease-out;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery.critical:not(.charging) {
color: @text;
animation-name: critical;
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 {
}
#tray {
}