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.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dormer-0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5fd60490dc7d269ec7892671f67a7c59d96c5d9cf3a60d30abdd99729e340331
MD5 3f0726c0e82571dd50ecc5461555eadf
BLAKE2b-256 b63ad8f62586a6d728f33bb12f9414de9a69d3f02757a772c1dae42842382297

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dormer-0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5518ab3950f3572122c898215a6c2c9f6be3697f152dd1e06d0e4b85f22ab935
MD5 553a1db3ac291437127244473fe3eb1b
BLAKE2b-256 9ce70021f124ad3392718525adf696919479799c3a1a23e3bb3189ec6115660a

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