Working on hyprland config
This commit is contained in:
@@ -28,10 +28,9 @@ in
|
||||
};
|
||||
|
||||
# Symlink all files except hyprland.conf
|
||||
home.file = lib.genAttrs otherHyprlandFiles (name: {
|
||||
target = "/.config/hypr/${name}";
|
||||
xdg.configFile = lib.genAttrs otherHyprlandFiles (name: {
|
||||
target = "hypr/${name}";
|
||||
source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}";
|
||||
createSymlink = true;
|
||||
});
|
||||
|
||||
# Append the base config to hyprland.conf, preserving manual changes
|
||||
@@ -40,11 +39,7 @@ in
|
||||
# Your manual settings will go below this line and will not be overwritten
|
||||
'';
|
||||
|
||||
# Create the directory structure
|
||||
xdg.configFile = {
|
||||
"hypr/.keep" = {
|
||||
text = "";
|
||||
};
|
||||
};
|
||||
# Create the directory structure (optional, if not already created)
|
||||
xdg.configFile."hypr/.keep".text = "";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user