Skip to content

feat: macOS $HOME/.config#836

Open
a-hariti wants to merge 2 commits intomfontanini:masterfrom
a-hariti:mac-home-config
Open

feat: macOS $HOME/.config#836
a-hariti wants to merge 2 commits intomfontanini:masterfrom
a-hariti:mac-home-config

Conversation

@a-hariti
Copy link

@a-hariti a-hariti commented Feb 2, 2026

Many tools follow the XDG_CONFIG convention unofficially on mac, it would be sensible to do the same for presenterm.

btw loading from ~/Library/Application Support/presenterm/ did not work for me, and I got around it by exporting an XDG_CONFIG var for now.

@a-hariti a-hariti changed the title Mac home config feat: macOS $HOME/.config Feb 2, 2026
@@ -4,7 +4,7 @@ _presenterm_ allows you to customize its behavior via a configuration file. This
custom themes, in the following directories:

* `$XDG_CONFIG_HOME/presenterm/` if that environment variable is defined, otherwise:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you try setting XDG_CONFIG_HOME like the docs specify? Is that not an option?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ended up exporting the var from my shell rc to pretend to be Linux, but it was not intuitive as other tools simply look for their config in ~/.config.

The aim of this PR is to reduce friction with a pragmatic approach / sensible default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants