Frozone
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
Metadata
Release files for frozone 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| frozone-0.1.1.tar.gz | 16.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| frozone-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.9 kB
Release files / frozone-0.1.1.tar.gz
| Download URL | frozone-0.1.1.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
022df9589402b9f915f6ce42c5a7df19340ed12c21d81e975cbc6a064d07c242
|
|
BLAKE2b-256 checksum How to use checksums |
6f4b715b079b8cf4b7a5ff930598da370d64ecb51614b4c36ab024303f2ef477
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / frozone-0.1.1-py3-none-any.whl
| Download URL | frozone-0.1.1-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbf563d53ee78f045169393e06d5924f28d3d6f5c42134282032e8bb8adf6a7a
|
|
BLAKE2b-256 checksum How to use checksums |
d6194967af1cfe4f88b74f492b04d648db946aa725e5e16e7550795e58f2d291
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|