Files
2026-09-21 21:04:44 +02:00

142 lines
3.8 KiB
CSS

/* FWS — style Waybar v2 — Édition VIOLETTE 💜 (palette de l'image)
bg #29242e · lavande #c3b6f6 · mauve #cba6f7 · teal #94e2d5 · rose #f569ca */
* {
font-family: "Noto Sans", "Symbols Nerd Font", sans-serif;
font-size: 13px;
min-height: 0;
}
window#waybar {
background: rgba(41, 36, 46, 0.88); /* fond image #29242e */
color: #fafafa; /* texte image */
border: 1px solid rgba(195, 182, 246, 0.35);
border-radius: 14px;
}
tooltip {
background: #29242e;
border: 1px solid #c3b6f6;
border-radius: 10px;
}
tooltip label { color: #fafafa; }
/* --- Espaces de travail --------------------------------------------------- */
#workspaces {
background: #1f1a2e; /* fond profond */
margin: 5px 4px;
border-radius: 10px;
padding: 0 4px;
}
#workspaces button {
color: #9a8cd8; /* lavande grise */
padding: 0 8px;
margin: 3px 2px;
border: none;
border-radius: 8px;
background: transparent;
transition: all 0.2s ease;
}
#workspaces button.active {
color: #1f1a2e;
background: #cba6f7; /* mauve */
font-weight: bold;
}
#workspaces button:hover {
color: #fafafa;
background: #3a3350;
box-shadow: none;
}
#window {
color: #9a8cd8;
margin-left: 10px;
font-style: italic;
}
/* --- Horloge (centre) ------------------------------------------------------ */
#clock {
color: #fafafa;
font-weight: bold;
background: #1f1a2e;
padding: 0 16px;
margin: 5px 0;
border-radius: 10px;
}
/* --- Modules de droite : pilules ------------------------------------------- */
#custom-keyhelp,
#backlight,
#pulseaudio,
#bluetooth,
#network,
#cpu,
#memory,
#battery,
#tray {
background: #1f1a2e;
padding: 0 12px;
margin: 5px 3px;
border-radius: 10px;
color: #fafafa;
}
#custom-keyhelp {
background: #cba6f7; /* bouton d'appel : mauve plein */
color: #1f1a2e;
font-weight: bold;
}
#custom-keyhelp:hover { background: #c3b6f6; }
#custom-power {
background-color: #1f1a2e; /* pilule comme les autres modules */
background-image: url("__WAYBAR_LOGO__");
background-size: 16px 16px;
background-repeat: no-repeat;
background-position: center;
min-width: 18px;
padding: 0 12px;
margin: 5px 10px 5px 3px; /* décalé du bord droit */
border-radius: 10px;
}
#custom-power:hover { background-color: #3a3350; }
#backlight { color: #c3b6f6; } /* lavande */
#pulseaudio { color: #cba6f7; }
#pulseaudio.muted { color: #6b6180; }
#bluetooth { color: #d8cfff; }
#bluetooth.disabled { color: #6b6180; }
#network { color: #94e2d5; } /* teal */
#network.disconnected { color: #f569ca; }
#cpu { color: #9a8cd8; } /* indigo clair */
#memory { color: #e06abd; } /* magenta de l'image */
#battery.warning { color: #c3b6f6; }
#battery.critical { color: #f569ca; }
#battery.charging { color: #8cebd4; }
/* --- Lecture en cours : la pochette seule ------------------------------------ */
/* La pochette vient du module « image » (script media-cover). Le titre,
l'artiste et le temps ne s'affichent plus dans la barre : ils restent
lisibles au survol de la pochette (le panneau multimédia, lui, montre tout).
Sans lecteur, media-cover ne renvoie aucune image : Waybar pose la classe
« empty » sur la pilule, que l'on efface juste en dessous. */
#image {
background: #1f1a2e;
padding: 0 6px;
margin: 5px 3px;
border-radius: 10px;
}
#image:hover { background: #3a3350; }
/* Rien ne joue : pas de pochette → la pilule doit disparaître sans laisser
de carré vide ni de trou dans la barre. */
#image.empty {
background: transparent;
padding: 0;
margin: 0;
}