/kitty-save-session

Allows you to save & restore kitty sessions, with all kitty OS windows, kitty tabs & kitty windows restored.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Save & Restore Kitty Sessions

Allows you to save & restore kitty sessions, with all kitty OS windows, kitty tabs & kitty windows restored.

Doesn’t restore OS window sizes. See here for Window Workspace Placement Save & Restore.

Requirements

Requires python 3 and kitty.

Usage

# Dump the current kitty session:
$ kitty @ ls > kitty-dump.json
# Convert this JSON file into a kitty session file:
$ cat kitty-dump.json | python3 ./kitty-convert-dump.py > kitty-session.kitty
# Start kitty from that session file:
$ kitty --session kitty-session.kitty