Skip to content

Adds ability to specify config file. #3

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Adds ability to specify config file. #3

wants to merge 1 commit into from

Conversation

vtrlx
Copy link
Contributor

@vtrlx vtrlx commented Mar 9, 2017

This patch adds the -c option to the command-line, allowing the user to specify another location for the config file. Ex:

zx -c ~/.config/i3/zx.conf

These changes still allow one to override config options on the command-line e.g:

zx -c ~/.config/i3/zx.conf -d 0

will disable daemon mode regardless of what ~/.config/i3/zx.conf specifies.

Specify with `zx -c <file>` (e.g: `zx -c ~/.config/i3/zx.conf`)

Options in the specified config file can still be overridden on the
command-line as before.
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.

1 participant