Shameless plug: I am the author.

  • @sfera@beehaw.org
    link
    fedilink
    110 months ago

    Are there abstractions available around the XDG specifications to resolve the proper paths?

    • @MonkderDritte@feddit.de
      link
      fedilink
      5
      edit-2
      10 months ago

      What language? Python has PyXDG.

      In shell it’s simply

      XDG_DATA_HOME="${XDG_DATA_HOME:-"$HOME"/.local/share}"
      XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-"$HOME"/.config}"
      etc.