dotfiles/sway/.config/waybar/style.css

92 lines
1.3 KiB
CSS
Raw Normal View History

2021-11-20 19:52:12 +00:00
* {
2024-02-10 21:12:38 +00:00
border: none;
border-radius: 0;
font-family: Droid Nerd Font Mono;
font-size: 14px;
min-height: 0;
2021-11-20 19:52:12 +00:00
}
@import "gruvbox.css";
window#waybar {
2024-02-10 21:12:38 +00:00
background: @background;
color: @foreground;
2021-11-20 19:52:12 +00:00
}
#workspaces button {
2024-02-10 21:12:38 +00:00
padding: 0 2px;
background: transparent;
color: @foreground;
border-bottom: 3px solid transparent;
2021-11-20 19:52:12 +00:00
}
2024-02-10 21:12:38 +00:00
#workspaces button.active {
background: @orange_b;
2021-11-20 19:52:12 +00:00
}
2024-02-10 21:12:38 +00:00
#workspaces button.visible {
background: @orange;
border-radius: 2px;
border-top: 3px solid @orange_b;
}
#mode,
#clock,
#battery {
padding: 0 10px;
margin: 0 5px;
2021-11-20 19:52:12 +00:00
}
#mode {
2024-02-10 21:12:38 +00:00
background: @red;
border-bottom: 3px solid @foreground;
}
#window {
padding: 0 10px;
2021-11-20 19:52:12 +00:00
}
#clock {
2024-02-10 21:12:38 +00:00
color: @foreground;
2021-11-20 19:52:12 +00:00
}
#battery {
2024-02-10 21:12:38 +00:00
color: @foreground;
2021-11-20 19:52:12 +00:00
}
#battery.charging {
2024-02-10 21:12:38 +00:00
color: @green;
2021-11-20 19:52:12 +00:00
}
@keyframes blink {
2024-02-10 21:12:38 +00:00
to {
background-color: @foreground;
color: @background;
}
2021-11-20 19:52:12 +00:00
}
2024-02-10 21:12:38 +00:00
#idle_inhibitor,
#pulseaudio,
#custom-openvpn,
#network,
#cpu,
#memory,
#temperature,
#backlight,
#battery,
#clock,
#tray {
padding: 0 6px;
margin: 0 3px;
2021-11-20 19:52:12 +00:00
}
#battery.warning:not(.charging) {
2024-02-10 21:12:38 +00:00
background: @red;
color: @foreground;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
2021-11-20 19:52:12 +00:00
}