noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

[Feature Request] Allow ~ or $HOME in user template paths (input/output)

Open Anachron opened this issue 5 months ago • 1 comments

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

  1. Use a user template path with $HOME or ~
  2. 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

Anachron avatar Jun 16 '26 08:06 Anachron

Closing since this is supported now.

Yocraft-2000 avatar Oct 14 '26 21:10 Yocraft-2000