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

Project based layout #418

Closed
huseyinkozan opened this issue Apr 12, 2021 · 4 comments
Closed

Project based layout #418

huseyinkozan opened this issue Apr 12, 2021 · 4 comments

Comments

@huseyinkozan
Copy link

Is your feature request related to a problem? Please describe.
Not really a problem, maybe an enhancement.

Describe the solution you'd like
Loading layout file from current/given directory.

Describe alternatives you've considered
Defining a layout for each project as globally.

Additional context
Some example projects:

@mattrose
Copy link
Member

You should look into the new --layout-json option. You could have a JSON file that describes your layout in the project directory and load it from there.

@huseyinkozan
Copy link
Author

You should look into the new --layout-json option. You could have a JSON file that describes your layout in the project directory and load it from there.

There is a --layout doc at man, but not --layout-json. Tried with below file like terminator --layout 4-4-grid.json, but not worked.

https://raw.githubusercontent.com/gnome-terminator/terminator/master/data/layout-files-examples/4-4-grid.json

terminator --help shows there is -j CONFIGJSON option, but it does not works, too. Tried terminator -j 4-4-grid.json, and terminator --config-json=4-4-grid.json

I am using version 2.1.1.

@mattrose
Copy link
Member

I haven't actually written the documentation for that, and need to refresh my memory, but you should be able to be able to call the layout json by calling the full path to the JSON file
ie: terminator -j /home/user/terminator/data/layout-files-examples/4-4-grid.json, assuming that file exists.

@huseyinkozan
Copy link
Author

No luck. Tried :

terminator -j /home/hk/Downloads/4-4-grid.json
terminator --layout /home/hk/Downloads/4-4-grid.json
terminator --layout-json /home/hk/Downloads/4-4-grid.json    # error: no such option: --layout-json
terminator --config-json=/home/hk/Downloads/4-4-grid.json

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

No branches or pull requests

2 participants