noctalia-shell
noctalia-shell copied to clipboard
[Feature Request] Allow ~ or $HOME in user template paths (input/output)
Submission checklist
- [x] I have searched existing issues and confirmed this is not a duplicate.
- [x] I am using the latest available version of Noctalia.
Bug description
When using user templates I can't use $HOME or ~ to link to my $HOME folder.
This is probably due to only these variables being available: https://github.com/noctalia-dev/noctalia/blob/main/src/theme/template_engine.cpp#L1217
I suggest we should at least support $HOME and ~.
For now, my workaround is to use $XDG_CONFIG_HOME/...
Steps to reproduce
- Use a user template path with
$HOMEor~ - Switch theme
Expected behavior
New config file should be written
Actual behavior
Config file wont be written as the path is not available due to missing ENV
Logs / error output
Not needed
Noctalia version
noctalia-5.0.0.r2026.06.16.de82488_0
Compositor
Niri
Distribution
Void
Environment information
Shouldn't be needed.
Additional context
No response
Closing since this is supported now.