Regenerated

This commit is contained in:
2026-03-31 15:36:11 +00:00
parent 2b2da27d20
commit 2758b7cfae
3 changed files with 328 additions and 342 deletions
@@ -5,11 +5,6 @@ let
moduleName = "stylix";
assetPath = "${flakeRoot}/generated/.config/${moduleName}";
assetFiles = builtins.attrNames (builtins.readDir assetPath);
stylixFiles = lib.genAttrs assetFiles (f: {
source = "${assetPath}/${f}";
});
stylixConfFile = "${assetPath}/stylix.conf";
stylixConf =
@@ -41,13 +36,15 @@ in
#################################
stylix = {
enable = true;
base16Scheme = "${flakeRoot}/assets/traveldroid/theming/stylix/catppuccin-mocha.yaml";
polarity = "dark";
targets = {
gtk.enable = true;
qt.enable = true;
};
# Define FULL cursor set OR remove entirely
cursor = {
name = cursorName;
package = pkgs.phinger-cursors;
@@ -60,22 +57,18 @@ in
#################################
home-manager.users = {
"${username}" = {
home.file = {
".config/stylix/stylix.conf" = {
text = builtins.readFile "${assetPath}/stylix.conf";
force = true;
};
".config/stylix/palette.html" = {
text = builtins.readFile "${assetPath}/palette.html";
force = true;
};
".config/stylix/palette.json" = {
text = builtins.readFile "${assetPath}/palette.json";
force = true;
};
#################################
# ONLY custom file (safe)
#################################
home.file.".config/stylix/stylix.conf" = {
text = stylixConf;
force = true;
};
#################################
# Environment variables
#################################
home.sessionVariables = {
STYLIX_CONF = "$HOME/.config/stylix/stylix.conf";
XCURSOR_THEME = cursorName;
@@ -84,6 +77,9 @@ in
HYPRCURSOR_SIZE = toString cursorSize;
};
#################################
# Override GTK theme if needed
#################################
gtk.theme.name = lib.mkForce "Catppuccin-Mocha-Standard-Blue-Dark";
};
};