2024-10-12 13:24:57 +02:00
|
|
|
/* Pour les couleurs */
|
|
|
|
@import "macchiato.css";
|
|
|
|
|
2023-10-14 15:07:00 +02:00
|
|
|
* {
|
2024-10-12 13:24:57 +02:00
|
|
|
font-family: "FiraCode Nerd Font Mono SemBd", Roboto, Helvetica, Arial, sans-serif;
|
|
|
|
font-size: 16px;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
window#waybar {
|
2024-10-12 13:24:57 +02:00
|
|
|
background-color: rgba(0,0,0,0.3);
|
|
|
|
border-radius: 0px;
|
2023-10-14 15:07:00 +02:00
|
|
|
transition-property: background-color;
|
|
|
|
transition-duration: .5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
/* Use box-shadow instead of border so the text isn't offset */
|
|
|
|
box-shadow: inset 0 -3px transparent;
|
|
|
|
/* Avoid rounded borders under each button name */
|
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
|
|
button:hover {
|
|
|
|
background: inherit;
|
|
|
|
box-shadow: inset 0 -3px #ffffff;
|
|
|
|
}
|
|
|
|
|
2024-10-12 13:24:57 +02:00
|
|
|
/* you can set a style on hover for any module like this */
|
|
|
|
#pulseaudio:hover {
|
|
|
|
background-color: @surface2;
|
|
|
|
}
|
|
|
|
|
2023-10-14 15:07:00 +02:00
|
|
|
#workspaces button {
|
|
|
|
padding: 0 5px;
|
|
|
|
background-color: transparent;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button:hover {
|
2024-10-12 13:24:57 +02:00
|
|
|
background: rgba(0, 0, 0, 0.1);
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.active {
|
2024-10-15 22:15:51 +02:00
|
|
|
background-color: @lavendersoft;
|
|
|
|
box-shadow: inset 0 -3px #ffffff;
|
2024-10-12 13:24:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.focused {
|
|
|
|
background-color: @lavender;
|
2023-10-14 15:07:00 +02:00
|
|
|
box-shadow: inset 0 -3px #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
#workspaces button.urgent {
|
|
|
|
background-color: #eb4d4b;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mode {
|
|
|
|
background-color: #64727D;
|
2024-10-12 13:24:57 +02:00
|
|
|
box-shadow: inset 0 -3px #ffffff;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#clock,
|
|
|
|
#battery,
|
|
|
|
#cpu,
|
|
|
|
#memory,
|
|
|
|
#temperature,
|
|
|
|
#network,
|
2024-10-12 13:24:57 +02:00
|
|
|
#pulseaudio
|
|
|
|
{
|
2023-10-14 15:07:00 +02:00
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
2024-10-12 13:24:57 +02:00
|
|
|
#pulseaudio {
|
|
|
|
color: @maroon;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
2024-10-12 13:24:57 +02:00
|
|
|
#network {
|
|
|
|
color: @yellow;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
2024-10-12 13:24:57 +02:00
|
|
|
#temperature {
|
|
|
|
color: @sky;
|
|
|
|
}
|
|
|
|
|
|
|
|
#battery {
|
|
|
|
color: @green;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#clock {
|
2024-10-12 13:24:57 +02:00
|
|
|
color: @flamingo;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
2024-10-12 13:24:57 +02:00
|
|
|
#window {
|
|
|
|
color: @rosewater;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-launcher {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
color: @text;
|
|
|
|
}
|
|
|
|
|
|
|
|
#custom-notification, #custom-updates, #custom-power {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
color: @maroon;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modules-right,.modules-left,.modules-center {
|
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
.modules-right {
|
|
|
|
padding: 0 10px;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
2024-10-12 13:24:57 +02:00
|
|
|
.modules-left {
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modules-center {
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
2023-10-14 15:07:00 +02:00
|
|
|
#battery.charging, #battery.plugged {
|
2024-10-12 13:24:57 +02:00
|
|
|
color: @sapphire;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes blink {
|
|
|
|
to {
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-12 13:24:57 +02:00
|
|
|
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
2023-10-14 15:07:00 +02:00
|
|
|
#battery.critical:not(.charging) {
|
|
|
|
background-color: #f53c3c;
|
|
|
|
color: #ffffff;
|
|
|
|
animation-name: blink;
|
|
|
|
animation-duration: 0.5s;
|
2024-10-12 13:24:57 +02:00
|
|
|
animation-timing-function: steps(12);
|
2023-10-14 15:07:00 +02:00
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-direction: alternate;
|
|
|
|
}
|
|
|
|
|
|
|
|
label:focus {
|
|
|
|
background-color: #000000;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pulseaudio.muted {
|
2024-10-12 13:24:57 +02:00
|
|
|
color: @text;
|
2023-10-14 15:07:00 +02:00
|
|
|
}
|