A simple Python script for saving open Zathura sessions.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-15 12:47:04 +03:00
.woodpecker.yaml Add Python packaging. 2025-08-06 16:42:36 +03:00
LICENSE Add a simple README and a LICENSE. 2025-08-05 23:31:19 +03:00
pyproject.toml Add Python packaging. 2025-08-06 16:42:36 +03:00
README.md Add a simple README and a LICENSE. 2025-08-05 23:31:19 +03:00
zathurasession.py Zathura changed class name. 2026-07-15 12:47:04 +03:00

Zathura-session

A simple Python script for saving open Zathura sessions. The open files, their current pages and the desktops the Zathura viewers are open are saved in a JSON file, from which they can be loaded again.

This requires that the window manager runs under X supports EWMH.

Usage

Save the current state:

$ zathura-session save

Show the saved sessions:

$ zathura-session list

Load the previous session:

$ zathura-session load