dotfiles/modules/home/programs/waybar/waybar_style.css

133 lines
1.8 KiB
CSS
Raw Normal View History

2023-03-19 15:16:10 +00:00
* {
2024-07-10 05:54:23 +00:00
border: none;
font-family: Hack Nerd Font, sans-serif;
font-size: 1em;
2023-03-19 15:16:10 +00:00
}
window#waybar {
background-color: @base;
color: @text;
2024-07-10 05:54:23 +00:00
transition-property: background-color;
transition-duration: .5s;
2023-03-19 15:16:10 +00:00
}
window#waybar.hidden {
2024-07-10 05:54:23 +00:00
opacity: 0.2;
2023-03-19 15:16:10 +00:00
}
#workspaces,
#mode,
#cpu,
#memory,
#temperature,
#clock,
#idle_inhibitor,
#language,
#pulseaudio,
#backlight,
#battery,
#network,
2024-07-10 05:54:23 +00:00
#tray,
#custom-notification {
background-color: @crust;
2024-07-10 05:54:23 +00:00
padding: 0 10px;
margin: 3px;
/* border: 3px solid rgba(0, 0, 0, 0); */
2024-07-10 05:54:23 +00:00
border-radius: 90px;
background-clip: padding-box;
2023-03-19 15:16:10 +00:00
}
#workspaces button {
2024-07-10 05:54:23 +00:00
padding: 0 5px;
min-width: 20px;
color: @blue;
2023-03-19 15:16:10 +00:00
}
#workspaces button:hover {
2024-07-10 05:54:23 +00:00
background-color: rgba(0, 0, 0, 1)
2023-03-19 15:16:10 +00:00
}
#workspaces button.focused {
color: @yellow;
2023-03-19 15:16:10 +00:00
}
#workspaces button.urgent {
color: @red;
2023-03-19 15:16:10 +00:00
}
#clock {
color: @sky;
2023-03-19 15:16:10 +00:00
}
#idle_inhibitor {
color: @sky;
2023-03-19 15:16:10 +00:00
}
#idle_inhibitor.activated {
background-color: @overlay0;
2023-03-19 15:16:10 +00:00
}
#temperature {
color: @red;
2023-03-19 15:16:10 +00:00
}
#temperature.critical {
background-color: @overlay0;
2023-03-19 15:16:10 +00:00
}
#cpu {
color: @peach;
2023-03-19 15:16:10 +00:00
}
#memory {
color: @sky;
2023-03-19 15:16:10 +00:00
}
#battery {
color: @green;
2023-03-19 15:16:10 +00:00
}
2024-07-10 05:54:23 +00:00
#battery.charging,
#battery.plugged {
background-color: @overlay0;
2023-03-19 15:16:10 +00:00
}
@keyframes blink {
2024-07-10 05:54:23 +00:00
to {
background-color: @overlay0;
2024-07-10 05:54:23 +00:00
}
2023-03-19 15:16:10 +00:00
}
#battery.critical:not(.charging) {
background-color: @overlay0;
2024-07-10 05:54:23 +00:00
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
2023-03-19 15:16:10 +00:00
}
#pulseaudio {
color: @yellow;
2023-03-19 15:16:10 +00:00
}
#pulseaudio.muted {
color: @peach;
2023-03-19 15:16:10 +00:00
}
#backlight {
color: @blue;
2023-03-19 15:16:10 +00:00
}
#network {
color: @mauve;
2023-03-19 15:16:10 +00:00
}
#network.disconnected {
color: @rosewater;
2024-07-10 05:54:23 +00:00
}
#custom\/notification {
color: @red;
2023-03-19 15:16:10 +00:00
}