1
0
Fork 0
waybar-config/style.css

186 lines
2.8 KiB
CSS

@import "./palette.css";
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: "PT Sans", Roboto, Helvetica, Arial, sans-serif;
font-size: 17px;
border: none;
border-radius: 0;
font-size: 13px;
min-height: 0;
}
window#waybar {
background-color: @crust;
color: @text;
transition-property: background-color;
transition-duration: 0.5s;
border-radius: 0px;
transition-duration: .5s;
margin: 16px 16px;
/*
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
*/
}
window#waybar.hidden {
opacity: 0.2;
}
#workspaces button {
color: @text;
background: @background3;
border-radius: 8px;
padding: 0px 10px 0px 10px;
margin: 7px 5px 10px 5px;
border: 1px solid @border;
}
#workspaces button:hover {
background: @surface0;
color: @text;
}
#workspaces button.active {
color: @crust;
background: @overlay2;
border: none;
}
#custom-launcher,
#clock,
#battery,
#cpu,
#temperature,
#backlight,
#network,
#pulseaudio,
#memory,
#custom-weeklog,
#tray,
#mode,
#language,
#idle_inhibitor,
#custom-media,
#custom-weeklog,
#custom-dunst,
#custom-powermenu,
#mpd {
padding: 0px 20px;
/*margin: 7px 0px 10px 0px;*/
margin: 0px;
color: @crust;
background-color: @lavender;
/* border-radius: 8px; */
/* background-color: rgba(0, 26, 128, 0.5); */
}
#memory {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
#window,
#custom-launcher {
padding: 0px 25px 0px 20px;
margin: 7px 0px 10px 20px;
/*background-color: @mauve;*/
}
/*
#cpu {
background-color: @lavender;
}
#temperature{
background-color: @blue;
}
#memory {
background-color: @sapphire;
}
#custom-dunst {
padding: 0px 20px 0px 13px;
background-color: @sky;
}
#pulseaudio {
padding: 0px 20px 0px 17px;
background-color: @teal;
}
#network {
padding: 0px 15px 0px 20px;
background-color: @green;
}
#battery {
background-color: @yellow;
}
#clock {
background-color: @peach;
}
#custom-powermenu {
padding: 0px 25px 0px 20px;
margin: 7px 20px 10px 0px;
background-color: @maroon;
}
*/
@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;
}
window#waybar.hidden {
opacity: 0.2;
}
#workspaces {
margin-right: 10px;
}
#workspaces button.focused {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
label:focus {
background-color: #000000;
}
#custom-pomodoro.paused {
border-bottom: 3px solid @yellow;
}