11.stylix/modules/ashell/hm.nix
NAHO 3fb65013f7 treewide: rename mkTarget's configElements and extraOptions options
Rename mkTarget's 'configElements' argument to 'config' and
'extraOptions' to 'options' to provide a more transparent interface with
the underlying Nixpkgs module system.

(cherry picked from commit 16df6b8448)
2025-12-10 07:14:37 -10:00

35 lines
697 B
Nix

{ mkTarget, ... }:
mkTarget {
name = "ashell";
humanName = "Ashell";
config = [
(
{ colors }:
{
programs.ashell.settings.appearance = with colors.withHashtag; {
background_color = base00;
primary_color = base0D;
secondary_color = base01;
success_color = base0B;
danger_color = base09;
text_color = base05;
workspace_colors = [
base09
base0D
];
};
}
)
(
{ opacity }:
{
programs.ashell.settings.appearance = {
opacity = opacity.desktop;
menu.opacity = opacity.desktop;
};
}
)
];
}