Regenerated
This commit is contained in:
@@ -9,17 +9,17 @@ let
|
||||
pkgs.hyprland-git or
|
||||
inputs.hyprland.packages.${pkgs.system}.default;
|
||||
|
||||
# Function to recursively gather files as Home Manager entries
|
||||
# Recursively gather files as Home Manager entries
|
||||
gatherFiles = dir:
|
||||
let
|
||||
entries = builtins.attrNames (builtins.readDir dir);
|
||||
files = lib.concatMap (e:
|
||||
let
|
||||
path = "${dir}/${e}";
|
||||
in if builtins.pathExists path && builtins.pathInfo path.type == "directory"
|
||||
in if builtins.pathInfo path.type == "directory"
|
||||
then gatherFiles path
|
||||
else [{
|
||||
name = ".config/hypr/${builtins.replaceStrings [ assetPath + "/" ] [ "" ] path}";
|
||||
name = ".config/hypr/${builtins.replaceStrings [ "${assetPath}/" ] [ "" ] path}";
|
||||
value = { source = path; };
|
||||
}]
|
||||
) entries;
|
||||
|
||||
Reference in New Issue
Block a user