Files
Hyprland-Config-FWS/waybar/style.css
T
BlackAngelTV 6a65913c2c feat: piloter la lecture en cours depuis la barre et assortir les notifications
La barre ne disait rien de la musique qui joue, et les notifications gardaient
le style par défaut de mako, sans rapport avec le reste du bureau.

Waybar gagne un module média (pochette téléchargée puis mise en cache, titre,
artiste et temps) et un panneau flottant ouvert au clic ou par SUPER+M, avec
une position déplaçable, les commandes de lecture et une croix pour fermer ;
mako reprend la palette violette et se place sous la barre.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-16 23:23:59 +02:00

135 lines
3.5 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,
#mpris,
#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 : pochette + piste ------------------------------------ */
/* La pochette vient du module « image » (script media-cover), le texte du
module « mpris » ; les deux forment une seule pilule à l'écran. */
#image {
background: #1f1a2e;
padding: 0 6px;
margin: 5px 3px;
border-radius: 10px;
}
#mpris:hover,
#image:hover { background: #3a3350; }
#mpris.paused { color: #9a8cd8; }