dotfiles/home/dot_config/waybar/style.css

170 lines
3.1 KiB
CSS
Raw Normal View History

2023-02-25 16:18:35 +00:00
* {
2023-04-26 06:01:54 +00:00
border: none;
border-radius: 0;
font-family: 'JetBrainsMono Nerd Font';
font-size: 12px;
2023-02-25 16:18:35 +00:00
}
window#waybar {
2023-04-26 06:01:54 +00:00
background: transparent;
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
window#waybar.hidden {
opacity: 0.1;
}
#custom-sep {
color: #9399b2;
background: rgba(17, 17, 27, 0.9);
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
#workspaces {
padding-left: 5px;
transition: none;
border-radius: 15px 0px 0px 15px;
background: rgba(17, 17, 27, 0.9);
2023-02-25 16:18:35 +00:00
}
#workspaces button {
2023-04-26 06:01:54 +00:00
transition: ease-out;
transition-duration: 0.1s;
color: #6c7086;
background: transparent;
padding-left: 5px;
padding-right: 5px;
}
#workspaces button.persistent {
color: #6c7086;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
transition: ease-in;
transition-duration: 0.1s;
color: #f5c2e7;
}
2023-04-16 17:53:49 +00:00
#workspaces button.active {
2023-04-26 06:01:54 +00:00
color: #ea76cb;
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
#workspaces button.urgent {
color: #d20f39;
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
#window {
margin-right: 3px;
padding-left: 5px;
padding-right: 10px;
border-radius: 0px 15px 15px 0px;
transition: none;
background: rgba(17, 17, 27, 0.9);
color: #eee;
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
#submap {
padding-left: 5px;
padding-right: 5px;
margin-right: 3px;
border-radius: 15px 15px 15px 15px;
transition: none;
background: #f38ba8;
color: #313244;
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
#clock {
padding-left: 10px;
padding-right: 5px;
border-radius: 15px 15px 15px 15px;
transition: none;
color: #ffffff;
background: rgba(17, 17, 27, 0.9);
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
#custom-pipewire {
padding-left: 10px;
padding-right: 5px;
transition: ease-in;
transition-duration: 0.2s;
color: white;
background: rgba(17, 17, 27, 0.9);
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
#custom-pipewire.muted {
background-color: rgba(17, 17, 27, 0.9);
color: #ffffff;
}
#backlight {
padding-left: 5px;
transition: none;
color: white;
background: rgba(17, 17, 27, 0.9);
}
#idle_inhibitor {
border-radius: 15px 0px 0px 15px;
padding-left: 10px;
padding-right: 5px;
transition: ease-in;
transition-duration: 0.1s;
color: white;
background: rgba(17, 17, 27, 0.9);
}
#idle_inhibitor.activated {
background-color: #ff4879;
}
#cpu,
#memory,
#network {
padding-left: 5px;
padding-right: 5px;
transition: none;
color: #ffffff;
background: rgba(17, 17, 27, 0.9);
}
#battery {
padding-left: 10px;
padding-right: 10px;
transition: none;
color: white;
background: rgba(17, 17, 27, 0.9);
}
#battery.charging {
color: #f38ba8;
2023-02-25 16:18:35 +00:00
}
#battery.warning:not(.charging) {
2023-04-26 06:01:54 +00:00
color: #cba6f7;
2023-02-25 16:18:35 +00:00
}
2023-04-26 06:01:54 +00:00
@keyframes blink {
to {
background-color: #11111b;
color: #f38ba8;
}
}
#battery.critical:not(.charging) {
background-color: #f38ba8;
color: #313244;
animation-name: blink;
animation-duration: 0.2s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#tray {
padding-left: 5px;
padding-right: 10px;
border-radius: 0px 15px 15px 0px;
transition: none;
color: #ffffff;
background: rgba(17, 17, 27, 0.9);
2023-02-25 16:18:35 +00:00
}