Skip to main content

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

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-2.1.0.tar.gz (56.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wlr_layout_ui-2.1.0-py3-none-any.whl (64.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wlr_layout_ui-2.1.0.tar.gz
  • Upload date:
  • Size: 56.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for wlr_layout_ui-2.1.0.tar.gz
Algorithm Hash digest
SHA256 dcb3da5cbcc30a75eddd78a65df85cb43d507f48a8baa736c81ec1cfa9dc3b97
MD5 4a2670ad74fc7eed54c7d5b967b15995
BLAKE2b-256 4acb5e23c133ea383a4310315a551d2a597bb52bba04cec6aa84bcf31251e2a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wlr_layout_ui-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 64.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for wlr_layout_ui-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b68f490782aabbc953b4f050fefaa748a1fe63049b074b25970a141b28eea634
MD5 72fb6b7bf83ddf30d89ba81a09c3299a
BLAKE2b-256 a15bd87536249f3f305d84476d4c1aa3f4258d8c9db9e1ec9e22a651db82fa24

See more details on using hashes here.

Supported by

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