[Refactor]: Tidy Up Hyprland File Linking Code #100
Labels
No labels
blocked: external
bug
documentation
feature
optimization
refactor
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kruziikrel13/NixOS#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
github.com/Kruziikrel13/NixOS@b59a9aa8b9/modules/desktop/hyprland/config.nix (L22-L26)Scope
Hyprland
config.nixNotes / Ideas
Either scan
config/hyprlandand link the files that way, or create a filename map and iterate over that to link the files.Ideally, would like to also move
variables.lua.inback intoconfig/hyprlandResolved using a string file map for now in
9dd316e26c.But as demonstrated by the subsequent commit
6883bf39b4files can still be missed. So scanning the dir should probably be implemented.Entire directory as a whole can't be linked as it'll create a readonly directory, which blocks placement of
variables.luaIf want to scan the dir, need to convert the paths to strings.