11.stylix/modules/ashell/hm.nix
NAHO 16df6b8448
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.
2025-12-10 14:48:20 +01: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;
};
}
)
];
}