If sway is used XDG_CONFIG_HOME is already respected but for hyprland the config-dir was hardcoded.
I implemented support of XDG_CONFIG_HOME for hyprland. If XDG_CONFIG_HOME is not set it defaults to the same location that was previously used (~/.config/hypr/) so it should not break existing configurations.
If sway is used
XDG_CONFIG_HOME
is already respected but for hyprland the config-dir was hardcoded. I implemented support ofXDG_CONFIG_HOME
for hyprland. IfXDG_CONFIG_HOME
is not set it defaults to the same location that was previously used (~/.config/hypr/
) so it should not break existing configurations.