diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-19 23:35:43 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-19 23:35:43 +0200 |
commit | 2c20acb1981fc8fbd884dbece2a1115ca37732d2 (patch) | |
tree | cafd753960b509f1c572448aaf7591a4ddb2dce8 /doc/Usage/Session.md | |
parent | clang-format pass (diff) | |
download | smolbote-2c20acb1981fc8fbd884dbece2a1115ca37732d2.tar.xz |
Update documentation
Diffstat (limited to 'doc/Usage/Session.md')
-rw-r--r-- | doc/Usage/Session.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/Usage/Session.md b/doc/Usage/Session.md new file mode 100644 index 0000000..3018253 --- /dev/null +++ b/doc/Usage/Session.md @@ -0,0 +1,30 @@ +## Session format +A session is a single window, which contains a list of subwindows. + +Each subwindow has a profile (profile id), and a list of tabs. + +Each tab has a profile (profile id) and url. + +~~~json +{ + "subwindows": [ + { + "profile": "<profile id>", + "tabs": [ + { + "profile": "<profile id>", + "url": "<url>" + }, + { + ... + } + ] + } + ] +} + +~~~ + +## --session +This command-line option causes the browser to load the specified json file. + |