Skip to main content

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.

Video

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:

Packaging status

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 settings
  • ESC: close the app
  • TAB: switch between profiles

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wlr_layout_ui-1.6.15.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

wlr_layout_ui-1.6.15-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file wlr_layout_ui-1.6.15.tar.gz.

File metadata

  • Download URL: wlr_layout_ui-1.6.15.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.11.6-arch1-1

File hashes

Hashes for wlr_layout_ui-1.6.15.tar.gz
Algorithm Hash digest
SHA256 b0d81314d0dbfc9012f6722f0d3dd36db4e9caa3c43496e2bc928860656bde97
MD5 9b78b3f613255b8472087af0ef14a525
BLAKE2b-256 d8582ccc71ea5d857d9f6c3f8513cedcdc9bfd960d8d7328b6235570e6066868

See more details on using hashes here.

File details

Details for the file wlr_layout_ui-1.6.15-py3-none-any.whl.

File metadata

  • Download URL: wlr_layout_ui-1.6.15-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.11.6-arch1-1

File hashes

Hashes for wlr_layout_ui-1.6.15-py3-none-any.whl
Algorithm Hash digest
SHA256 5c9292027e8cc51b7830821b55eb52ee401f17e2b992216b65a637b89ac256fb
MD5 28cbba7d630ce6830ffe69a7899283dd
BLAKE2b-256 996301047b791d860ae56c4b2155286480eaa35b86d231df77875ca61397cc9d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page