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
~$ windowlayouts --help
usage: windowlayouts [-h] [--verbose] {store,restore,switch} ...
positional arguments:
{store,restore,switch}
store Store the current window layout for the current screen
layout. Possibly replace values in previously stored
layouts.
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 should be valid input for xrandr
that apply a specific screen layout. See
examples/config_example.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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b1fcc4693e45b10b30539fd59c0c6339d6ecf81560b8beddd8277848702a378 |
|
MD5 | fbcfc457f627bf21267e9725088964e8 |
|
BLAKE2b-256 | 22515306b12c5d320a773c4e5f1e029279eb500ee05b8de3a04576136f7f84b8 |
Close
Hashes for truhanen.windowlayouts-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b47a899ba4ecbd259fcd68208e5d6ddb5ccffa82b1ac952a6ddfbcc773514f |
|
MD5 | af29c8ef4316e508807167b65bd75087 |
|
BLAKE2b-256 | a408706591d4483daa5efe8e45efef957792be1c42a86d69bc24c71fd2d435ec |