dotfiles/.config/waybar/style.css

140 lines
2.3 KiB
CSS
Raw Normal View History

2024-03-06 16:00:50 +01:00
@import url("file:///home/viyurz/.config/gtk-3.0/colors.css");
2023-09-26 17:12:28 +02:00
* {
font-family: 'JetBrainsMono NF';
2023-09-26 17:12:28 +02:00
font-size: 13px;
}
#waybar {
background-image: linear-gradient(160deg, @background1, @background2), linear-gradient(160deg, @accent1, @accent2);
background-clip: padding-box, border-box;
background-origin: border-box;
border-bottom: 2px solid transparent;
border-radius: 0;
}
.modules-left, .modules-center, .modules-right {
margin-bottom: 2px;
color: @foreground;
}
#workspaces button {
box-shadow: none;
border: none;
border-radius: 0;
}
#workspaces button:hover {
background-color: @hovered;
}
#workspaces button.active {
background-color: @selected;
}
#workspaces button.urgent {
background-color: @urgent;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: @urgent;
}
#button,
#tray,
#custom-pkg-update-count,
2023-09-26 17:12:28 +02:00
#network,
#bluetooth,
#pulseaudio,
#custom-dnd-toggle,
2023-09-26 17:12:28 +02:00
#custom-media,
#window,
#backlight,
#battery,
#custom-gpu-temp,
#custom-gpu-usage,
#memory,
#custom-cpu-temp,
#cpu,
#clock {
2023-11-29 17:03:04 +01:00
padding: 2px 6px;
2023-09-26 17:12:28 +02:00
}
/*
.modules-left {
color: @accent1;
}
.modules-right {
color: @accent2;
}
*/
#pulseaudio,
#custom-dnd-toggle.dnd-disabled,
2023-09-26 17:12:28 +02:00
#backlight,
#custom-gpu-temp,
#custom-gpu-usage,
#custom-cpu-temp,
#cpu {
2023-09-26 17:12:28 +02:00
color: @accent1;
}
#custom-pkg-update-count,
2023-09-26 17:12:28 +02:00
#network,
#bluetooth,
#mpris,
#battery,
#memory,
#clock {
color: @accent2;
}
#custom-pkg-update-count.no-update,
2023-09-26 17:12:28 +02:00
#pulseaudio.output.muted,
2023-11-13 11:51:00 +01:00
#pulseaudio.input.source-muted,
#custom-dnd-toggle.dnd-enabled {
2023-09-26 17:12:28 +02:00
color: @disabled;
}
#network.disabled, #network.disconnected,
#bluetooth.disabled, #bluetooth.off {
color: @disabled2;
}
#custom-pkg-update-count.error {
color: @bad;
}
2023-09-26 17:12:28 +02:00
#battery.charging {
background-color: alpha(@good, 0.33);
}
#battery.30:not(.charging),
#custom-gpu-temp.high,
#custom-cpu-temp.high {
2023-09-26 17:12:28 +02:00
background-color: alpha(@bad, 0.33);
}
#battery.20:not(.charging),
#battery.10:not(.charging),
#custom-gpu-temp.alert,
#custom-cpu-temp.alert {
2023-09-26 17:12:28 +02:00
background-color: alpha(@bad, 0.5);
animation-name: blink;
animation-duration: 1.5s;
animation-timing-function: steps(2, start);
animation-iteration-count: infinite;
}
@keyframes blink {
to {
background-color: transparent;
}
}