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