feat: added some bling to the waybar

This commit is contained in:
surtur 2020-05-27 10:01:10 +02:00
parent 2afd3e846f
commit 4aa6447969
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -57,7 +57,7 @@ window#waybar.solo {
} }
#mode, #battery, #cpu, #memory, #network, #pulseaudio, #idle_inhibitor, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail { #mode, #battery, #cpu, #memory, #network, #pulseaudio, #idle_inhibitor, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail {
margin: 0px 6px 0px 6px; margin: 0px 5px 0px 5px;
min-width: 25px; min-width: 25px;
} }
@ -68,14 +68,26 @@ window#waybar.solo {
margin: 0px 10px 0px 0px margin: 0px 10px 0px 0px
} }
@keyframes blink {
to {
color: white;
}
}
#battery.warning { #battery.warning {
color: rgba(255, 210, 4, 1); color: rgba(255, 210, 4, 1);
} }
#battery.critical { #battery.critical {
color: rgba(238, 46, 36, 1); color: rgba(238, 46, 36, 1);
animation: blink .7s linear infinite alternate;
} }
#battery.charging { #battery.charging {
color: rgba(217, 216, 216, 1); color: rgba(59, 176, 216, 1);
font-weight: bold;
animation: blink 1s linear infinite alternate;
}
#network.disconnected {
color: red;
} }
#custom-storage.warning { #custom-storage.warning {
@ -84,8 +96,22 @@ window#waybar.solo {
#custom-storage.critical { #custom-storage.critical {
color: rgba(238, 46, 36, 1); color: rgba(238, 46, 36, 1);
} }
#custom-storage {
margin: 0 0 0 10px;
}
#memory {
/* color: #859900; */
}
#cpu {
/* color: #6c71c4; */
margin: 0 5px 0 0;
}
#tray { #tray {
padding: 0 .2em; margin: 0 5px 0 10px;
}
#pulseaudio {
margin: 0 5px 0 5px;
} }