This commit is contained in:
2025-11-25 16:50:47 -07:00
parent e0d803ff20
commit 1beb97c222
8 changed files with 192 additions and 257 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
programs.waybar = {
@@ -8,7 +8,7 @@
mainBar = {
layer = "top";
position = "top";
height = 30;
height = 45;
spacing = 4;
# Module layout
@@ -121,10 +121,10 @@
};
format = "{icon} {capacity}%";
format-full = "{icon} Full";
format-charging = "{icon} Charging {capacity}% {time}";
format-plugged = "{icon} Charge complete";
format-charging = "{icon} {capacity}% {time}";
format-plugged = "{icon} ";
format-good = ">{icon} {capacity}%";
format-icons = ["" "" "" "" "" "" "" ""];
format-icons = [" " " " " " " " " "];
};
"network#wifi" = {
@@ -154,163 +154,13 @@
on-click = "pavucontrol";
};
};
"custom/currents"= {
interval= 150;
exec= "/home/autumn/.local/bin/currents --output";
return-type= "json";
};
"custom/currents"= {
interval= 150;
exec= "/home/autumn/.local/bin/currents --output";
return-type= "json";
};
};
};
style = ''
* {
font-family: "Hack Nerd Font Mono";
font-size: 13px;
}
window#waybar {
color: #d3c6aa;
background-color: #2b3339;
border-bottom: 3px solid #7fbbb3;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
#custom-weather{
border-bottom: #a7c080;
}
button {
box-shadow: inset 0 -3px transparent;
border: 1px #000000 solid;
border-radius: 0;
color:#d3c6aa;
}
button:hover {
background: inherit;
box-shadow: inset 0 -3px #7fbbb3;
}
#tags button {
padding: 0 15px;
background-color: transparent;
border: 2px solid #d3c6aa;
}
#tags button.occupied {
background: #d3c6aa;
border: 1px solid #2b3339;
color:#2b3339;
}
#tags button.focused {
background-color: #7fbbb3;
color: #2b3339;
border: 1px solid #2b3339;
border-bottom: 3px solid #2b3339;
}
#tags button.urgent {
background-color: #e67e80;
}
#backlight,
#battery,
#clock,
#cpu,
#memory,
#mode,
#network,
#pulseaudio,
#temperature,
#tray,
#power-profiles-daemon {
padding: 0 8px;
color:#d3c6aa;
}
#window,
#workspaces {
margin: 0 8px;
}
#backlight {
background-color: transparent;
border-bottom: 3px solid #7fbbb3;
}
#battery {
background-color: transparent;
border-bottom: 3px solid #a7c080;
}
#battery.critical.discharging {
background-color: #e67e80;
animation: blink 5s infinite;
}
#battery.warning.discharging {
background-color: #dbbc7f;
animation: blink 10s infinite;
}
@keyframes blink {
to {
background-color: transparent;
}
}
#clock {
background-color: transparent;
border-bottom: 3px solid #a7c080;
}
#cpu {
background-color: transparent;
border-bottom: 3px solid #7fbbb3;
}
#memory {
background-color: transparent;
border-bottom: 3px solid #dbbc7f;
}
#network {
background-color: transparent;
border-bottom: 3px solid #a7c080;
}
#network.disconnected {
background-color: transparent;
border-bottom: 3px solid #f38ba8;
}
#pulseaudio {
background-color: transparent;
border-bottom: 3px solid #7fbbb3;
}
#pulseaudio.muted {
background-color: transparent;
border-bottom: 3px solid #e67e80;
}
#temperature {
background-color: transparent;
border-bottom: 3px solid #a7c080;
}
#temperature.critical {
background-color: transparent;
border-bottom: 3px solid #e67e80;
}
#tray {
background-color: transparent;
border-bottom: 3px solid #7fbbb3;
}
'';
};
xdg.configFile."waybar/style.css".source = ./waybar.css;
}