Skip to content

[Feature Request]: Support XDG base directory specification #467

Open

Description

@cweiske

Feature Description

expose publish creates a new configuration file in ~/.expose/config.php.

This is another directory in my home dir, which gets pretty crowded.
On Linux the XDG Base Directory Specification solves this problem by providing standard directories - including ~/.config/ for configuration files.

It would be nice if expose would follow that specification and store its configuration in $XDG_CONFIG_HOME when this environment variable is set, and falls back to ~/.config/ if it is not set.
A fallback to ~/.expose for existing installations would be necessary as well.

Is this feature valuable for other users as well and why?

Making backups of one's configuration is easier because users only have to copy ~/.config.

Activity

  1. changed the title [-][Feature Request]: Support XDG directory specification[/-] [+][Feature Request]: Support XDG base directory specification[/+] on Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions