119 lines
2.3 KiB
CSS
119 lines
2.3 KiB
CSS
/* --- Hyprland palette --- */
|
|
@define-color base rgba(30, 30, 46, 1.0);
|
|
@define-color inactive rgba(89, 89, 89, 0.667);
|
|
@define-color blue rgba(51, 204, 255, 0.933);
|
|
@define-color green rgba(0, 255, 153, 0.933);
|
|
|
|
@define-color text rgba(255, 255, 255, 1.0);
|
|
@define-color surface1 rgba(255, 255, 255, 0.08);
|
|
@define-color subtext1 rgba(255, 255, 255, 0.35);
|
|
@define-color red rgba(255, 0, 0, 0.90);
|
|
@define-color overlay1 rgba(255, 255, 255, 0.35);
|
|
@define-color yellow rgba(255, 215, 0, 0.95);
|
|
|
|
/* --- Global --- */
|
|
* {
|
|
font-family:
|
|
Aporetic Sans Mono,
|
|
Iosevka Nerd Font,
|
|
Roboto,
|
|
Helvetica,
|
|
Arial,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: transparent;
|
|
color: @text;
|
|
}
|
|
|
|
#custom-spacer {
|
|
min-width: 100px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.modules-center > widget {
|
|
/* this makes ALL center modules share space */
|
|
flex-grow: 1;
|
|
}
|
|
|
|
/* --- Groups --- */
|
|
|
|
#hardware {
|
|
padding: 0px 1px;
|
|
min-width: 80px;
|
|
background-color: transparent;
|
|
color: @text;
|
|
border: 2px solid @inactive;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
workspaces button {
|
|
padding: 0px 1px;
|
|
min-width: 80px;
|
|
background-color: transparent;
|
|
color: @text;
|
|
border: 2px solid @inactive;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
workspaces button:hover {
|
|
background-color: @surface1;
|
|
}
|
|
|
|
workspaces button.active {
|
|
font-weight: bold;
|
|
border: 1px solid transparent;
|
|
background:
|
|
linear-gradient(rgba(255, 255, 255, 0.15),
|
|
rgba(255, 255, 255, 0.15)) padding-box,
|
|
linear-gradient(45deg, @blue, @green) border-box;
|
|
}
|
|
|
|
#clock,
|
|
#idle_inhibitor,
|
|
#battery,
|
|
#cpu,
|
|
#memory,
|
|
#temperature,
|
|
#network,
|
|
#pulseaudio,
|
|
#tray {
|
|
margin: 0 5px;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
/* --------------------------------------------------------- */
|
|
/* STATES */
|
|
/* --------------------------------------------------------- */
|
|
|
|
#idle_inhibitor.activated {
|
|
background-color: @green;
|
|
}
|
|
|
|
#battery.charging {
|
|
color: @green;
|
|
}
|
|
|
|
#battery.warning:not(.charging) {
|
|
color: white;
|
|
animation: blink 0.5s linear infinite alternate;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
background-color: #ffffff;
|
|
color: black;
|
|
}
|
|
}
|
|
|
|
#network.disconnected {
|
|
background-color: @red;
|
|
}
|
|
|
|
#temperature.critical {
|
|
background-color: @red;
|
|
}
|