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