Utility for storing & restoring window layouts on the X Window System
Project description
windowlayouts
Utility for automatically storing & restoring window layouts for specific screen configurations on the X Window System.
Installation
Run pip install truhanen.windowlayouts
to install the script windowlayouts
to be used from the command line.
Requirements
- Python 3.7+ & pip
- wmctrl command line tool
Install from source
Clone the repository & run pip install .
in the project root directory.
Usage
usage: windowlayouts [-h] [--verbose] {store,restore,switch} ...
positional arguments:
{store,restore,switch}
store Store the current window layout for the current screen
layout. Replace a previously stored window layout if
such a window layout exists for the current screen
layout.
restore Restore a window layout if one with the current screen
layout has previously been stored.
switch Run store, then switch to a screen layout configured
in ~/.config/windowlayouts/config.ini, and
then run restore. Screen layout values in the
configuration file must be valid input for xrandr that
apply a specific screen layout. See
examples/config.ini for example.
optional arguments:
-h, --help show this help message and exit
--verbose, -v Increase verbosity.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for truhanen.windowlayouts-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ac43e7ff92fada5caed4db950ad75b50b775e0793be1046678b6940e26f7b65 |
|
MD5 | 0dc091398a2785da1439d201d76a0ecc |
|
BLAKE2b-256 | 4b625f67ced347e4a8b93d842a607ba42557beaac2c355a80188a46bbdc6bb1b |
Close
Hashes for truhanen.windowlayouts-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d28049e8d7b95424a31cc1d39723ca579ec084e10d1e106fb0fd96e71f20284e |
|
MD5 | f590e264b4b01df35c6d155676c98387 |
|
BLAKE2b-256 | 38d2a489f36fa667b31601c8e807c905ee8e3fc94908f9a1668a73e23b1cf9b8 |