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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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