nwg-piotr / nwg-shell

Installer & meta-package for the nwg-shell project: a GTK3-based shell for sway and Hyprland Wayland compositors
Other
857 stars 14 forks source link

Installer script does not write correct path in hyprland.conf if XDG_CONFIG_HOME is set #292

Closed ethereal-engineer closed 8 months ago

ethereal-engineer commented 8 months ago

I am taking steps to migrate my nwg-shell, hyprland, etc, dotfiles into my existing git-revisioned dotfiles hierarchy. This I found by doing a test run using:

export XDG_CONFIG_HOME=<path>; nwg-shell-installer -a -hypr

The paths written in the hyprland config file seem to be hardcoded to ~/.config...

nwg-piotr commented 8 months ago

If I remember well, we always use the config_home variable.

https://github.com/nwg-piotr/nwg-shell/blob/552f215da0a0451cf3671fade85725aa06eb6ffc/nwg_shell/installer.py#L31

However, we don't generate config files themselves. They come predefined.

ethereal-engineer commented 8 months ago

Ah. That would be why then.