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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e2562367d4471e7680d609b52baf9a78705a79eb17648206c29528ee92cae39 |
|
MD5 | 52a06c6ce9d0083e8d8c692c42b705db |
|
BLAKE2b-256 | f7a3a50d01caa29fba2a615615a8b18ce33a971ba1a4385497e04a018f4a4b47 |
Close
Hashes for truhanen.windowlayouts-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 716df5d98f333d49ae8118398754f2eafcbc2d0a011368cd4b3531db9349db06 |
|
MD5 | 1476ccfe6696776ab53dd928a06b25b1 |
|
BLAKE2b-256 | 897bf07fd6ab5329362cf7da4ca142e1b55351e510d1ec616a3ceb857d632751 |