Skip to content

feat: custom config/theme files location - #146

Open
versenilvis wants to merge 3 commits into
mainfrom
feat/custom-config-folder
Open

feat: custom config/theme files location#146
versenilvis wants to merge 3 commits into
mainfrom
feat/custom-config-folder

Conversation

@versenilvis

@versenilvis versenilvis commented Aug 23, 2026

Copy link
Copy Markdown
Owner

closes #145

New command:
iris --config-dir [your-new-config-dir]

Note

config dir means both config and theme files have to be in the same dir like default

config.toml and theme.toml can now live anywhere, via --config-dir or IRIS_CONFIG_DIR

  • Precedence: flag > env > XDG_CONFIG_HOME > ~/.config

The env var is the real carrier: your rc starts iris with a bare exec iris, which drops flags but keeps the environment — so it also works for NixOS

The directory must exist (a bad path is a typo, not a fallback); the files inside stay optional. A bad path drops to a rescue shell rather than exiting, since exiting would close the terminal

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.

Allow config/theme files with custom location

1 participant