2024-09-08 20:38:40 +02:00
|
|
|
{
|
2024-09-09 05:54:29 +02:00
|
|
|
nixosConfig,
|
2024-09-08 20:38:40 +02:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2023-06-17 02:01:27 +02:00
|
|
|
|
2024-09-08 20:38:40 +02:00
|
|
|
let
|
2024-09-09 05:54:29 +02:00
|
|
|
inherit (nixosConfig._module.specialArgs) nix-config;
|
|
|
|
|
2024-09-08 20:38:40 +02:00
|
|
|
phosh-backgrounds = nix-config.packages.${pkgs.system}.phosh-backgrounds.override {
|
|
|
|
color = config.lib.stylix.colors.base00;
|
|
|
|
};
|
|
|
|
in
|
2023-06-17 02:01:27 +02:00
|
|
|
{
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
gtk3.extraConfig = {
|
|
|
|
gtk-decoration-layout = "menu:";
|
|
|
|
gtk-xft-antialias = 1;
|
|
|
|
gtk-xft-hinting = 1;
|
|
|
|
gtk-xft-hintstyle = "hintfull";
|
|
|
|
gtk-xft-rgba = "rgb";
|
|
|
|
gtk-recent-files-enabled = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
iconTheme = {
|
2024-08-07 22:32:53 +02:00
|
|
|
package = pkgs.fluent-icon-theme;
|
2023-06-17 02:01:27 +02:00
|
|
|
name = "Fluent-dark";
|
|
|
|
};
|
|
|
|
};
|
2024-09-08 20:38:40 +02:00
|
|
|
|
|
|
|
stylix.targets.gtk.extraCss = # css
|
|
|
|
''
|
|
|
|
phosh-lockscreen {
|
|
|
|
background: url('${phosh-backgrounds}/wall-lock.jpg');
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh-app-grid {
|
|
|
|
background: url('${phosh-backgrounds}/wall-grid.jpg');
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh-top-panel {
|
|
|
|
background: url('${phosh-backgrounds}/wall-panel.jpg');
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh-home {
|
|
|
|
background: url('${phosh-backgrounds}/wall-home.jpg');
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh-lockscreen, phosh-app-grid, phosh-top-panel, phosh-home {
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
'';
|
2023-06-17 02:01:27 +02:00
|
|
|
}
|