Skip to main content

Frozone

PyPI - Python Version

Buy Me a Coffee at ko-fi.com

A tool to save and restore the position of windows using wmctrl.

Requirements

  • wmctrl
  • Python >= 3.2
  • pip

Tested on Zorin OS 17 Core.

Installation

$ pip3 install frozone

Usage

Saving open windows

frozone freeze

Restoring open windows

frozone restore

Command line arguments

Argument Description
--help Show the help message
-v, --verbose Increase output verbosity
-r, --restore Restore the windows to their previous state using the default JSON file. Can be used with -i, --input to specify the JSON file location
-o OUTPUT, --output OUTPUT Set an output path for the JSON file
-i INPUT, --input INPUT Set the input path for the JSON file
-c CMD_REGEX, --cmd-regex CMD_REGEX Set the command regex to filter the windows to be saved

Configuration

wmctrl has an issue with positioning due to window frames. To mitigate this issue, you can configure the top and left offsets in the ~/.config/frozone/frozone.conf.

cmd_regex can also be configured in the same file.

About

By recoskyler - Adil Atalay Hamamcioglu - 2024

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frozone-0.1.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frozone-0.1.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file frozone-0.1.1.tar.gz.

File metadata

  • Download URL: frozone-0.1.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for frozone-0.1.1.tar.gz
Algorithm Hash digest
SHA256 022df9589402b9f915f6ce42c5a7df19340ed12c21d81e975cbc6a064d07c242
MD5 6e1da229760a87785a84a869d31ad8f7
BLAKE2b-256 6f4b715b079b8cf4b7a5ff930598da370d64ecb51614b4c36ab024303f2ef477

See more details on using hashes here.

File details

Details for the file frozone-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: frozone-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for frozone-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf563d53ee78f045169393e06d5924f28d3d6f5c42134282032e8bb8adf6a7a
MD5 a29d8154a544b82fa15c6a222231c530
BLAKE2b-256 d6194967af1cfe4f88b74f492b04d648db946aa725e5e16e7550795e58f2d291

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page