This commit is contained in:
mjallen18
2025-07-29 16:41:04 -05:00
parent 7e35a27b2e
commit 04ef2a4b8c
10 changed files with 77 additions and 9 deletions

View File

@@ -61,7 +61,30 @@ in
modules-center = [ "hyprland/window" ];
modules-right = cfg.modules-right;
modules-right = [
"tray"
"custom/left-end"
"temperature"
"temperature#gpu"
"keyboard-state#capslock"
"keyboard-state#numlock"
"wireplumber#sink"
"bluetooth"
"network"
"idle_inhibitor"
"custom/right-end"
"custom/left-end"
"clock"
"battery"
"custom/weather"
"custom/right-end"
];
# modules-right = [
# "tray"
# "custom/left-end" ] ++
# cfg.modules-right ++
# [ "custom/right-end" ];
# Module Definitions
# Left
@@ -290,6 +313,16 @@ in
return-type = "json";
markup = "pango";
};
"custom/left-end" = {
format = " ";
tooltip = false;
};
"custom/right-end" = {
format = " ";
tooltip = false;
};
} // cfg.extraModules;
};
@@ -373,7 +406,7 @@ in
${defaultBorderRadius}
${defaultCenterOptions}
margin-left: 4rem;
margin-right: 4rem;
margin-right: ${toString cfg.windowOffset}rem;
}
/* make window module transparent when no windows present */
@@ -529,6 +562,18 @@ in
}
/* ------------- */
#custom-left-end {
background-color: ${nord.polarNight.nord0};
${defaultOpacity}
${borderLeft}
}
#custom-right-end {
background-color: ${nord.polarNight.nord0};
${defaultOpacity}
${borderRight}
}
''
+ cfg.extraModulesStyle or '''';
};