nwg-piotr / nwg-displays

Output management utility for sway and Hyprland.
MIT License
334 stars 22 forks source link

Use XDG_CONFIG_HOME for hyprland config #50

Closed DasenB closed 4 months ago

DasenB commented 4 months ago

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.