nixos-config/modules/programs/waybar/style.css

152 lines
2.1 KiB
CSS
Raw Normal View History

2021-10-26 15:30:05 +00:00
* {
2021-12-12 14:33:12 +00:00
border: none;
font-family: Iosevka Nerd Font, sans-serif;
font-size: 13px;
2021-10-26 15:30:05 +00:00
}
window#waybar {
2021-12-12 14:33:12 +00:00
/* background-color: rgba(18, 21, 29, 0.98); */
background-color: #12151d;
/* background-color: rgba(0, 0, 0, 0); */
border-bottom: 3px solid #1e222a;
color: #abb2bf;
transition-property: background-color;
transition-duration: .5s;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
window#waybar.hidden {
opacity: 0.2;
2021-10-26 15:30:05 +00:00
}
#workspaces,
#mode,
2021-12-12 14:33:12 +00:00
#cpu,
#memory,
#temperature,
#custom-media,
#custom-fans,
#clock,
2021-10-26 15:30:05 +00:00
#idle_inhibitor,
2021-12-12 14:33:12 +00:00
#language,
2021-10-26 15:30:05 +00:00
#pulseaudio,
2021-12-12 14:33:12 +00:00
#backlight,
#battery,
#network,
#tray {
background-color: #1e222a;
padding: 0 10px;
margin: 2px 4px 5px 4px;
border: 3px solid rgba(0, 0, 0, 0);
border-radius: 90px;
background-clip: padding-box;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#workspaces button {
padding: 0 5px;
min-width: 20px;
color: #61afef;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#workspaces button:hover {
background-color: rgba(0, 0, 0, 0.2)
}
#workspaces button.focused {
color: #c678dd;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#workspaces button.urgent {
color: #e06c75;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#cpu {
color: #61afef;
}
#memory {
color: #c678dd;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#temperature {
color: #d19a66;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#temperature.critical {
background-color: #e06c75;
color: #1e222a;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#custom-media {
background-color: #c678dd;
color: #1e222a;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#custom-fans {
color: #98c379;
2021-10-26 15:30:05 +00:00
}
#clock {
2021-12-12 14:33:12 +00:00
color: #61afef;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#idle_inhibitor {
color: #abb2bf;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#idle_inhibitor.activated {
background-color: #abb2bf;
color: #1e222a;
2021-10-26 15:30:05 +00:00
}
2021-12-12 14:33:12 +00:00
#language {
color: #56b6c2;
}
#pulseaudio {
color: #d19a66;
}
#pulseaudio.muted {
background-color: #e06c75;
color: #1e222a;
}
#backlight {
color: #61afef;
}
#battery {
color: #98c379;
}
#battery.charging, #battery.plugged {
background-color: #98c379;
color: #1e222a;
}
@keyframes blink {
to {
background-color: #1e222a;
color: #e06c75;
}
}
#battery.critical:not(.charging) {
background-color: #e06c75;
color: #1e222a;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#network {
color: #c678dd
}
#network.disconnected {
background-color: #e06c75;
color: #1e222a;
2021-10-26 15:30:05 +00:00
}