Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dflock/kitty-save-session
- Owner: dflock
- License: gpl-3.0
- Created: 2021-02-18T19:45:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-05T06:03:53.000Z (over 2 years ago)
- Last Synced: 2024-10-12T08:49:12.654Z (29 days ago)
- Topics: kitty-terminal, session-management
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 91
- Watchers: 5
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
# Save & Restore Kitty Sessions
:author: Duncan LockAllows 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
```