214 lines
3.2 KiB
Plaintext
214 lines
3.2 KiB
Plaintext
@import 'mocha.css';
|
|
|
|
@define-color flavor #<FLAVOR_HEX>;
|
|
/* @define-color archlinux #1793d1; */
|
|
@define-color archlinux @sapphire;
|
|
|
|
/* Font(s) */
|
|
* {
|
|
/* main font icons CJK fallback */
|
|
font-family: 'Sour Gummy Light', 'Meslo LGM Nerd Font Mono', 'WenQuanYi Micro Hei', 'Noto Sans', sans-serif;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Reset all styles */
|
|
* {
|
|
border: none;
|
|
border-radius: 14px;
|
|
min-height: 0;
|
|
margin: 2px 1px 2px 1px;
|
|
padding: 0;
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
}
|
|
|
|
/* The whole bar */
|
|
#waybar {
|
|
background-color: transparent;
|
|
color: @text;
|
|
border-radius: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
tooltip {
|
|
background: @base;
|
|
border: 2px solid @overlay0;
|
|
}
|
|
|
|
#workspaceactions,
|
|
#window,
|
|
#clock,
|
|
#monitors,
|
|
#custom-mediaplayer,
|
|
#custom-power-menu,
|
|
#tray,
|
|
#custom-rofi,
|
|
#custom-caffeine,
|
|
#custom-power {
|
|
background-color: alpha(@base, 0.6);
|
|
border-radius: 14px;
|
|
padding: 3px 10px;
|
|
}
|
|
|
|
#custom-rofi,
|
|
#custom-caffeine,
|
|
#custom-power {
|
|
padding-left: 6px;
|
|
padding-right: 6px;
|
|
}
|
|
|
|
#custom-workspacenew,
|
|
#workspaces button {
|
|
padding: 0px 5px;
|
|
margin: 3px 3px;
|
|
border-radius: 8px;
|
|
color: @text;
|
|
background-color: transparent;
|
|
transition: all 0.3s ease-in-out;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
background-color: alpha(@flavor, 0.3);
|
|
}
|
|
|
|
#workspaces button.active {
|
|
color: @base;
|
|
background: @flavor;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
color: @base;
|
|
background-color: @red;
|
|
}
|
|
|
|
#workspaceactions {
|
|
padding-left: 3px;
|
|
padding-right: 3px;
|
|
border: 2px solid @flavor;
|
|
}
|
|
|
|
#workspaces {
|
|
padding: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
#window {
|
|
transition: none; /* Disable background transition */
|
|
}
|
|
|
|
window#waybar.empty #window{
|
|
background-color: transparent;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#custom-mediaplayer {
|
|
color: @flavor;
|
|
}
|
|
|
|
#network.speed {
|
|
color: @flavor;
|
|
}
|
|
|
|
#custom-publicip {
|
|
color: @peach;
|
|
}
|
|
|
|
#temperature {
|
|
color: @yellow;
|
|
}
|
|
|
|
#memory {
|
|
color: @green;
|
|
}
|
|
|
|
#cpu {
|
|
color: @teal;
|
|
}
|
|
|
|
#battery {
|
|
color: @sapphire;
|
|
}
|
|
|
|
#battery.charging,
|
|
#battery.full,
|
|
#battery.plugged {
|
|
color: @green;
|
|
}
|
|
|
|
#backlight {
|
|
color: @blue;
|
|
}
|
|
|
|
#wireplumber {
|
|
color: @lavender;
|
|
}
|
|
|
|
#tray {
|
|
border: 2px solid @flavor;
|
|
}
|
|
|
|
#custom-power {
|
|
border: 3px solid @maroon;
|
|
}
|
|
|
|
#custom-power:hover {
|
|
background-color: alpha(@maroon, 0.3);
|
|
}
|
|
|
|
#custom-rofi {
|
|
color: @archlinux;
|
|
border: 3px solid @archlinux;
|
|
}
|
|
|
|
#custom-rofi:hover {
|
|
background-color: alpha(@archlinux, 0.3);
|
|
}
|
|
|
|
#custom-caffeine {
|
|
border: 3px solid @yellow;
|
|
}
|
|
|
|
#custom-caffeine:hover {
|
|
background-color: alpha(@yellow, 0.3);
|
|
}
|
|
|
|
#custom-caffeine.active {
|
|
border: 3px solid @peach;
|
|
}
|
|
|
|
#clock {
|
|
border: 2px solid @flavor;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
background-color: alpha(@red, 0.5);
|
|
}
|
|
}
|
|
|
|
#battery.critical:not(.charging) {
|
|
color: @red;
|
|
animation-name: blink;
|
|
animation-duration: 1s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
#network.disconnected {
|
|
color: @red;
|
|
}
|
|
|
|
#temperature.critical {
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#tray > .passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
#tray > .needs-attention {
|
|
-gtk-icon-effect: highlight;
|
|
background-color: #eb4d4b;
|
|
} |