A tiny GUI to configure screen layouts on wayland
Project description
Wlr layout UI
An simple GUI to setup the screens layout. Works best on Hyprland but should support most systems in a slightly degraded way (Wayland and Xorg are supported via 3rd party applications)
Features
- Load and save profiles
- No grid snapping, but anchors in a smart way on overlap
- Set the screen settings
- Layout: position, rotation, scale and flipping
- Resolution
- Refresh rate
- Makes clean, easy to understand layouts, with no negative values of random offsets
</monk>
[!note] Non Hyprland should work without screen rotation or scaling support
Video / Demo
A bit outdated, but still relevant.
Requires
- Python
- pyglet
- tomli
- tomli-w
- One of:
- Hyprland >= 0.37
- wlr-randr (for other wayland systems)
- xrandr (for X11 / Xorg)
Installation
Check your distro for the package:
or install with pip in a virtual environment:
python -m venv myenv
./myenv/bin/pip install wlr-layout-ui
This will create a "myenv" folder with the app installed. You will need to run the app with the full path to it (/path/to/myenv/bin/wlrlui).
Usage
Start the GUI
wlrlui
Note that a .desktop
file is provided in the files
folder for an easy integration to your environment.
List available profiles (CLI)
wlrlui -l
Load a profile
To load the profile called "cinema":
wlrlui cinema
Magic layout
added in 1.6.11
Applies the first profile (in alphabetical order) matching the set of monitors which are currently active:
wlrlui -m
GUI shortcuts
ENTER
: apply the current settingsESC
: close the appTAB
: switch between profiles
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
File details
Details for the file wlr_layout_ui-1.6.14.tar.gz
.
File metadata
- Download URL: wlr_layout_ui-1.6.14.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.3-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ae3f45f677ebeeb8ab1c599f6838b1796f73684478e185c4b123ac8bce244fb |
|
MD5 | 24b805b3485ce5cac1843414b1d01bf1 |
|
BLAKE2b-256 | 5612cd010c9681ffecfac4a261206604a160c8e5ccc5f7c5614f2478dea86da5 |
File details
Details for the file wlr_layout_ui-1.6.14-py3-none-any.whl
.
File metadata
- Download URL: wlr_layout_ui-1.6.14-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.3-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70bf9ad5c3ff91197b056a61009b63fff85f98689069f29d948116c6b1956b16 |
|
MD5 | acf40bcc9c4fbfa2fe844c2f99f1437e |
|
BLAKE2b-256 | a7b6fbe93a9e8a95bc846d8efa67198feb8878350442023d41b7348556f6f9a8 |