Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dflock/kitty-save-session

Allows you to save & restore kitty sessions, with all kitty OS windows, kitty tabs & kitty windows restored.
https://github.com/dflock/kitty-save-session

kitty-terminal session-management

Last synced: 14 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Save & Restore Kitty Sessions
:author: Duncan Lock

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 https://github.com/dflock/window-workspace-save-restore[Window Workspace Placement Save & Restore].

## Requirements

Requires python 3 and https://sw.kovidgoyal.net/kitty/[kitty].

## Usage

```shell
# 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
```