waybar-dotfiles/style.css

175 lines
2.4 KiB
CSS
Raw Normal View History

2024-12-04 21:36:23 +04:00
@import "mocha.css";
2024-12-05 15:22:32 +04:00
@define-color text_color @text;
/* uncomment it for use pywal script*/
/*
@import "/home/divan/.cache/wal/waybar.css";
@define-color text_color @maxY;
*/
2024-12-04 21:36:23 +04:00
* {
border: none;
border-radius: 0;
font-family: "Noto Nerd Font";
font-size: 13px;
min-height: 0;
2024-12-04 21:36:23 +04:00
}
window#waybar {
background: @surface0;
2024-12-05 15:22:32 +04:00
color: @text_color;
2024-12-04 21:36:23 +04:00
}
#window {
font-weight: bold;
font-family: "Noto";
2024-12-04 21:36:23 +04:00
}
2024-12-05 15:22:32 +04:00
2024-12-04 21:36:23 +04:00
.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 {
2024-12-05 15:22:32 +04:00
background: @surface0;
border-radius: 10px;
margin-left: 2px;
padding-right: 10px;
margin-right: -10px;
2024-12-04 21:36:23 +04:00
color: @red;
}
#custom-reboot {
color: @flamingo
}
#custom-exit {
color: @peach
}
#custom-lock {
color: @flamingo
}
#workspaces button {
padding: 0 5px;
background: transparent;
2024-12-05 15:22:32 +04:00
color: @text_color;
border-top: 2px solid @surface0;
2024-12-04 21:36:23 +04:00
}
#workspaces button.focused {
2024-12-05 15:22:32 +04:00
color: @text_color;
border-top: 2px solid @text_color;
2024-12-04 21:36:23 +04:00
}
#workspaces button.active {
2024-12-05 15:22:32 +04:00
color: @text;
border-top: 2px solid @text;
2024-12-04 21:36:23 +04:00
}
#workspaces button.urgent {
border-color: @red;
color: @red;
border-top: 2px solid @red;
2024-12-04 21:36:23 +04:00
}
#clock {
padding: 0 10px;
margin: 0 1px;
2024-12-05 15:22:32 +04:00
background: @surface0;
border-radius: 5px;
font-weight: bold;
2024-12-04 21:36:23 +04:00
}
#language, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode {
padding: 0 10px;
margin: 0 1px;
2024-12-04 21:36:23 +04:00
}
#battery {
}
#battery icon {
color: @red;
2024-12-04 21:36:23 +04:00
}
@keyframes critical {
to {
color: @red;
}
}
@keyframes good {
to {
color: @blue;
}
2024-12-04 21:36:23 +04:00
}
#battery.charging {
2024-12-05 15:22:32 +04:00
color: @text_color;
animation-name: good;
animation-duration: 3.5s;
animation-timing-function: ease-out;
animation-iteration-count: infinite;
animation-direction: alternate;
2024-12-04 21:36:23 +04:00
}
#battery.warning:not(.charging) {
2024-12-05 15:22:32 +04:00
color: @text_color;
animation-name: critical;
animation-duration: 1.5s;
animation-timing-function: ease-out;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#battery.critical:not(.charging) {
2024-12-05 15:22:32 +04:00
color: @text_color;
animation-name: critical;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
2024-12-04 21:36:23 +04:00
}
#cpu {
}
#memory {
}
#network {
}
#network.disconnected {
color: @red;
2024-12-04 21:36:23 +04:00
}
#pulseaudio {
}
#pulseaudio.muted {
}
#tray {
}