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 on wlroots based systems and X11 (using xrandr), Hyprland is the first class user.

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
  • wlr-randr (if not using Hyprland >= 0.37)
  • xrandr (for X11 support)

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

Uploaded Source

Built Distribution

wlr_layout_ui-1.6.11-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wlr_layout_ui-1.6.11.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.6.31-1-lts

File hashes

Hashes for wlr_layout_ui-1.6.11.tar.gz
Algorithm Hash digest
SHA256 2a395d1c8710221923c1ae65b0be724d4b3d0e88a686bd43a7027b947f7352a7
MD5 b322e1320cf5697cc521cb418b973eb9
BLAKE2b-256 372de7e5436dbca7b5e625b592e15660fdb13ede387dd0fddce48e5c7dfb8414

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wlr_layout_ui-1.6.11-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.6.31-1-lts

File hashes

Hashes for wlr_layout_ui-1.6.11-py3-none-any.whl
Algorithm Hash digest
SHA256 e96eb9bbf8af9f78121ee882fa029cba551937050bd630b59d7b2f5767da6575
MD5 20be7792787669de620a351e1dbc91a8
BLAKE2b-256 4c2a5dc8592630a4593a0f159aeb762828add3f9217968e7aa27779e2a62592e

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