Signed-off-by: Hadi <hadi@example.com>
This commit is contained in:
Hadi
2026-07-02 15:24:33 +02:00
parent ccdf0c289a
commit a393b84c92
19 changed files with 353 additions and 379 deletions
+27 -83
View File
@@ -8,11 +8,11 @@
green = "#${c.base0B}";
blue = "#${c.base0D}";
cyan = "#${c.base0C}";
mauve = "#${c.base0E}";
inactive = "#${c.base03}";
highlight = "#${c.base02}";
font-size = "${toString config.stylix.fonts.sizes.applications}px";
font-size-clock = "${toString (config.stylix.fonts.sizes.applications + 2)}px";
module-padding = "14px";
in {
programs.waybar.style = ''
* {
@@ -40,36 +40,30 @@ in {
}
#clock,
#tray,
#custom-network,
#bluetooth,
#battery,
#mpris {
padding: 1px 14px;
#tray,
#workspaces,
#custom-osd,
#custom-network,
#custom-bluetooth {
padding: 1px ${module-padding};
}
#custom-osd-sep {
padding: 0;
color: ${inactive};
}
#clock {
font-size: ${font-size-clock};
}
#workspaces {
padding: 1px 8px;
}
#pulseaudio {
padding: 1px 8px 1px 6px;
}
#pulseaudio-slider {
padding: 0 8px 0 2px;
}
#workspaces button {
color: ${fg};
font-size: ${font-size};
border-radius: 100px;
padding: 0 5px;
margin: 0 1px;
padding: 0 3px;
margin: 0;
}
#workspaces button.empty {
@@ -85,28 +79,8 @@ in {
color: ${module-bg};
background: ${blue};
border-radius: 60px;
padding: 0 12px;
margin: 0 1px;
}
#right-hidden {
padding: 0 6px;
}
#custom-arrow-right {
padding: 0 5px;
font-size: ${toString (config.stylix.fonts.sizes.applications + 2)}px;
}
#power-profiles-daemon {
margin-right: 4px;
}
#network.disabled,
#bluetooth.disabled {
padding: 0;
padding: 0 8px;
margin: 0;
min-width: 0;
}
#battery {
@@ -118,20 +92,8 @@ in {
color: ${green};
}
#network.ethernet,
#network.wifi {
color: ${cyan};
}
#bluetooth.on,
#bluetooth.connected,
#bluetooth {
color: ${blue};
}
#battery.critical,
#network.disconnected,
#power-profiles-daemon.performance {
#custom-network.disconnected {
color: ${red};
}
@@ -139,18 +101,24 @@ in {
color: ${yellow};
}
#power-profiles-daemon.power-saver {
color: ${green};
#custom-network.ethernet,
#custom-network.wifi {
color: ${cyan};
}
#mpris {
color: ${mauve};
#custom-bluetooth {
color: ${blue};
}
#mpris.paused {
#custom-bluetooth.off {
color: ${inactive};
}
#custom-osd {
font-weight: 700;
color: ${fg};
}
tooltip {
border-radius: 15px;
background: ${tooltip-bg};
@@ -183,29 +151,5 @@ in {
border-radius: 10px;
background-color: ${highlight};
}
slider {
opacity: 0;
box-shadow: none;
}
trough {
min-width: 50px;
min-height: 5px;
border-radius: 8px;
background: ${inactive};
}
trough highlight {
border-radius: 8px;
background-color: ${fg};
background-image: none;
}
#custom-osd {
padding: 1px 14px;
font-weight: 700;
color: ${fg};
}
'';
}