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: 2 months 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-01-28T16:46:32.877Z (5 months ago)
- Topics: kitty-terminal, session-management
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 74
- Watchers: 5
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Lists
- awesome-stars - dflock/kitty-save-session - Allows you to save & restore kitty sessions, with all kitty OS windows, kitty tabs & kitty windows restored. (Python)
- awesome-stars - dflock/kitty-save-session - Allows you to save & restore kitty sessions, with all kitty OS windows, kitty tabs & kitty windows restored. (Python)
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
```