aboutsummaryrefslogtreecommitdiff
path: root/doc/Session.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Session.md')
-rw-r--r--doc/Session.md30
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.
+