112 lines
3.2 KiB
CSS
112 lines
3.2 KiB
CSS
/* ==== Waybar GTK CSS: Cosmic glass (v2 lighter) ================= */
|
|
|
|
/* Palette */
|
|
@define-color glass rgba(12, 14, 20, 0.34); /* was 0.62 → much more transparent */
|
|
@define-color glass_strong rgba(12, 14, 20, 0.46); /* chips / active */
|
|
@define-color fg #DDE1EA;
|
|
@define-color fg_dim #B8BECC;
|
|
@define-color accent1 #7F5AF0;
|
|
@define-color accent2 #00D1FF;
|
|
|
|
/* Whole bar: more vertical padding, no border, stronger shadow */
|
|
window#waybar {
|
|
background: @glass;
|
|
color: @fg;
|
|
border-radius: 12px;
|
|
/* margin: 6px 8px; */
|
|
border: none; /* ← removed border */
|
|
box-shadow: 0 10px 34px rgba(0,0,0,0.34);
|
|
-gtk-outline-radius: 12px;
|
|
}
|
|
|
|
/* Global typography: Roboto Mono Nerd Font */
|
|
* {
|
|
border: none;
|
|
padding: 2px 6px;
|
|
margin-top: 0;
|
|
font-family: "RobotoMono Nerd Font", "Roboto Mono Nerd Font", "RobotoMono NF", monospace;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Keep groups transparent */
|
|
#modules-left, #modules-center, #modules-right { background: transparent; }
|
|
|
|
/* Common modules stay transparent; compact rounded hit area */
|
|
#tray, #window, #clock, #cpu, #memory, #disk, #network, #bluetooth, #pulseaudio {
|
|
background: transparent;
|
|
border-radius: 8px;
|
|
color: @fg;
|
|
}
|
|
|
|
/* Subtle separators */
|
|
#custom-separator {
|
|
color: rgba(200,200,200,0.20);
|
|
padding: 0 4px;
|
|
}
|
|
|
|
/* --- group BUTTONS --------------------------------------------------------- */
|
|
#custom-group1, #custom-group2, #custom-group3, #custom-group4, #custom-group5,
|
|
#custom-group6, #custom-group7, #custom-group8, #custom-group9, #custom-group10 {
|
|
background: transparent;
|
|
min-width: 18px;
|
|
padding-left: 2px;
|
|
/* color: @fg_dim; */
|
|
}
|
|
|
|
/* Active group: glass chip, no border */
|
|
#custom-group1.active, #custom-group2.active, #custom-group3.active, #custom-group4.active,
|
|
#custom-group5.active, #custom-group6.active, #custom-group7.active, #custom-group8.active,
|
|
#custom-group9.active, #custom-group10.active {
|
|
background: @glass_strong;
|
|
border-radius: 8px;
|
|
color: #a8557f;
|
|
box-shadow: inset 0 0 0 9999px rgba(255,255,255,0.015);
|
|
}
|
|
|
|
/* Hover feedback (very light) */
|
|
#custom-group1:hover, #custom-group2:hover, #custom-group3:hover, #custom-group4:hover,
|
|
#custom-group5:hover, #custom-group6:hover, #custom-group7:hover, #custom-group8:hover,
|
|
#custom-group9:hover, #custom-group10:hover {
|
|
background: rgba(255,255,255,0.03);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Tray tweaks */
|
|
#tray { margin-right: 0px; }
|
|
#tray * { padding-left: 0px; padding-right: 0px; }
|
|
|
|
/* Tray menu glass look (also lighter, no border) */
|
|
#tray menu {
|
|
padding: 6px 0;
|
|
margin: 0;
|
|
background: @glass_strong;
|
|
border-radius: 10px;
|
|
border: none;
|
|
box-shadow: 0 10px 34px rgba(0,0,0,0.38);
|
|
}
|
|
#tray menu menuitem { padding: 6px 12px; }
|
|
#tray menu menuitem:hover { background: alpha(@accent1, 0.16); }
|
|
|
|
|
|
|
|
#custom-hyprland-workspaces {
|
|
padding: 0;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.workspace {
|
|
/* display: inline-block; */
|
|
padding: 4px 8px;
|
|
margin: 0 2px;
|
|
border-radius: 4px;
|
|
color: #e6e6e6; /* off-white for empty workspaces */
|
|
background-color: transparent;
|
|
border: 1px solid #444;
|
|
/* cursor: pointer; */
|
|
transition: all 0.2s ease;
|
|
min-width: 20px;
|
|
/* text-align: center; */
|
|
}
|
|
|