diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-28 10:21:47 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-28 10:21:47 +0200 |
commit | 0d93cf6fea0a5bae6bdf4adc15d5d6fd3306d0e6 (patch) | |
tree | 8055cb02033892be64b16221bd7710f8012bdeed /doc | |
parent | Socket messages are json formatted (diff) | |
download | smolbote-0d93cf6fea0a5bae6bdf4adc15d5d6fd3306d0e6.tar.xz |
Add --session parameter to load a session json
Add Session menu to main window
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Session.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/Session.md b/doc/Session.md new file mode 100644 index 0000000..3018253 --- /dev/null +++ b/doc/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. + |