Skip to main content

Tool for saving/restoring i3 workspace->output mappings

Project description

dormer

codecov

dormer is a tool for saving/restoring i3 Workspace -> Output mappings. In theory, i3 does it for itself but this doesn't seem to work when plugging/unplugging screens. This is intended for setups where you've got a computer linked to multiple screens, but periodically want to unplug it from them temporarily. The canonical use-case is a laptop that's normally tethered to some screens, but that every so often you want to use it elsewhere for a bit before plugging it back in. It's intended for use together with tools like randrctl which stores/restores your screen resolutions.

There are two modes: "load" and "save". In "save" mode, dormer stores the current set of workspace -> screen mappings as the canonical wanted config for a given set of screen outputs. Note that we currently pay no attention to the actual monitors, and instead make the assumption that a particular set of output imports implies what they are.

In "load", dormer tries to find an existing "save" config and set the workspaces to be on the relevant monitors. If it can't find a config, it says so and quits.

Project details


Download files

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

Source Distribution

dormer-0.2.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

dormer-0.2-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file dormer-0.2.tar.gz.

File metadata

  • Download URL: dormer-0.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for dormer-0.2.tar.gz
Algorithm Hash digest
SHA256 4e28f617905c264080f312587fbc86fb9cb5f7c9ba8533998caa346f308a5131
MD5 4630280b6f8165dd93c3ddfb0c6dd79f
BLAKE2b-256 1178439d6402c6f9e62e1dc851a0a63c184e0c94fb8e8579c13487eae566f2f1

See more details on using hashes here.

File details

Details for the file dormer-0.2-py3-none-any.whl.

File metadata

  • Download URL: dormer-0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for dormer-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a6a0b896458f80299fd137d599ebd5bf57b6d9be7f33bc4a1ba456c1e8e5bc1
MD5 c74d76b6b56a82ab9ac3e7e94e7f3827
BLAKE2b-256 a470c6ba7988730f81a739a325b13a9a604d28e0eb2558b0424443526a83f011

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page