Coder Social home page Coder Social logo

wlr-layout-ui's Introduction

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

wlr-layout-ui's People

Contributors

fdev31 avatar levnikmyskin avatar bnlrnz avatar jozhin-s-bazhin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.