scripts reorganize
This commit is contained in:
@@ -10,7 +10,7 @@ let
|
||||
shaders = lib.mapAttrsToList (name: _: lib.strings.removeSuffix ".glsl" "${name}")
|
||||
(lib.attrsets.filterAttrs
|
||||
(name: type: type == "regular")
|
||||
(builtins.readDir ./windowShaders)
|
||||
(builtins.readDir ../../scripts/hypr-windowShaders)
|
||||
);
|
||||
loadShader = name: "hl.plugin.darkwindow.load_shader('${name}', { path = './windowShaders/${name}.glsl'})";
|
||||
in
|
||||
@@ -37,5 +37,5 @@ in
|
||||
] ++ map (name: { match.tag = "shader/${name}"; "darkwindow:shade" = "${name}";}) shaders;
|
||||
};
|
||||
|
||||
home-manager.users."djai".home.file.".config/hypr/windowShaders".source = ./windowShaders;
|
||||
home-manager.users."djai".home.file.".config/hypr/windowShaders".source = ../../scripts/hyper-windowShaders;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user