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. Each "output" of a
screen layout must be defined on a separate line in
the configuration value. 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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fcf7b7901dadc905ed78be8bf73d0466ae6f47a2d735512a674a776d586b623 |
|
MD5 | 6596f604433c2da900795c95a0f03823 |
|
BLAKE2b-256 | 836a1b5e3f46cf7a334fcdd85e58f2ee364427261cca5afce92842050846754d |
Close
Hashes for truhanen.windowlayouts-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed00d4029d3f929c626fe3b2831f75408be2475532f384fa0271fbeac273ea0d |
|
MD5 | 10483b2fe87cb2246cd28776d8cd8c64 |
|
BLAKE2b-256 | 62bb8af48a99acaaf76cc89132d047235224ebd3ed571bfc2131c1b533df3002 |