1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 14:13:53 +01:00
eoli3n-dotfiles/roles/waybar/templates/style.j2
2022-02-22 11:09:19 +01:00

120 lines
2.4 KiB
Django/Jinja

/* colorscheme */
@define-color background rgba(34, 34, 34, 0.9);
@define-color active rgba(68, 68, 68, 0.8);
@define-color warning rgba(243, 249, 157, 1);
@define-color alert rgba(255, 92, 87, 1);
@define-color white rgba(239, 240, 235, 1);
@define-color darkgrey rgba(73, 73, 73, 1);
@define-color grey rgba(146, 146, 146, 1);
@define-color red rgba(255, 92, 87, 1);
@define-color yellow rgba(243, 249, 157, 1);
@define-color blue rgba(10, 108, 245, 1);
@define-color purple rgba(159, 120, 255, 1);
@define-color green rgba(90, 247, 142, 1);
@define-color cyan rgba(154, 237, 254, 1);
* {
border: none;
border-radius: 0;
font-family: "{{ font }}"{% for element in font_icon %}, "{{ element }}"{% endfor %};
font-size: 12px;
box-shadow: none;
text-shadow: none;
transition-duration: 0s;
}
window {
color: @white;
background: @background;
}
#workspaces {
padding-right: 30px;
}
#workspaces button {
background: transparent;
padding: 0 10px;
color: @white;
min-width: 20px;
border-top: 1px solid transparent;
border-bottom: 2px solid transparent;
}
#workspaces button.visible {
color: @white;
}
#workspaces button.focused {
border-top: 1px solid @active;
border-bottom: 2px solid @yellow;
background: @active;
}
#workspaces button.urgent {
color: @alert;
}
#mode, #battery, #cpu, #memory, #network, #pulseaudio, #backlight, #custom-backup, #custom-pkg, #custom-storage, #custom-vpn, #custom-zfs-trim, #custom-zfs-scrub, #custom-systemd, #temperature, #clock {
margin: 0px 16px 0px 0px;
}
#tray, #custom-spotify, #custom-kubernetes {
margin: 0px 0px 0px 16px;
}
#clock {
border-bottom: 2px solid @blue;
}
#network {
border-bottom: 2px solid @purple;
}
#network.speed {
border-bottom: 0px;
}
#battery {
border-bottom: 2px solid @yellow;
}
#custom-pkg {
border-bottom: 2px solid @red;
}
#pulseaudio {
/*border-bottom: 2px solid @green;*/
}
#backlight {
/*border-bottom: 2px solid @alert;*/
}
#custom-vpn {
border-bottom: 2px solid @cyan;
}
#battery.warning {
color: @warning;
background: transparent;
}
#battery.critical {
color: @alert;
background: transparent;
}
#battery.charging {
color: rgba(217, 216, 216, 1);
}
#custom-storage.warning {
color: @warning;
background: transparent;
}
#custom-storage.critical {
color: @alert;
background: transparent;
}