Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to specify a session configuration per project #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ngirard
Copy link
Contributor

@ngirard ngirard commented Nov 25, 2020

  • Run cargo update
  • add home_config() (intermediate step)
  • Add DmuxConf trait

This is my take on #11.

The code is not perfect, but it's a starting point. I cannot afford to spend more time on it, I'm just hoping it'll be helpful.

It adds such -D | profile_from_dir option.
When -D is specified, such as

dmenu -D ~/my/project/dir

then the configuration file is expected to be found within the selected_dir path (~/my/project/dir in the above example).

The name of the config file is currently hardwired to dmux.conf.toml (did I say that the code was just a starting point...?).

Cheers !

@zdcthomas
Copy link
Owner

I really like the DmuxConf trait idea, I'll be able to look though this in more detail later today, thanks!

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