Skip to content

Support config in ~/.config #7

@doismellburning

Description

@doismellburning

More things use XDG_CONFIG_HOME now

This is great in theory, but unsupported by my dotfiles right now

ec67c41 was the ground work to modify bootstrap to e.g. also look at $DOTFILES/*.config and symlink those into $XDG_CONFIG_HOME/

I initially thought a high proportion of the things I have that use it - also write there and/or have secrets and/or machine-specific config there. But actually looking at both abaddon (macOS) and baal (Debian):

  • btop: ✅ autogenerated, but static, fine
  • gh: ✅ config.yml would be perfect for dotfiles (aliases!) - hosts.yml probably too (protocol, user, etc.)
  • ghostty: ✅ config generated by dotfiles (hacky, but it works!)
  • go: 😐 dynamic stuff, but it's only a bunch of telemetry I probably don't want anyway(!)
  • io.datasette.llm: ⛔ lots of stuff for simonw's llm, some of it secrets (keys.json), some of it storage (logs.db)
  • nvim: ✅ static config

So actually maybe I do just manage entire dirs in my dotfiles?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions