#position #wayland #cli #tool #command-line-tool #wlroot #outputs-displays

app wltile

A cli tool that positions outputs/displays for wlroot based compositors

1 unstable release

new 0.1.1-alpha.2 Mar 1, 2025

#11 in #position

GPL-2.0-or-later

35KB
950 lines

Overview

wltile is a cli tool that positions outputs/displays for wlroot based compositors.

Usage Examples

Listing existing displays and their positions

$ wltile list
DP-2:
        Make: Dell Inc. DELL S3423DWC
        Size: 3440 x 1440
        Position: (0, 0)
eDP-1:
        Make: Samsung Display Corp. 0x419F
        Size: 2880 x 1800
        Position: (3440, 540)

Positioning DP-2 left of eDP-1 and align them to the bottom

$ wltile position DP-2 left-of eDP-1 align-bottom

Limitations

This tool is still under developement.

That said, my aim is to do a first release that:

  • lists all displays along with relevant info for positioning them.
  • position two displays relative to each other either left or right.
  • while positioning the displays, align them to bottom or top.

Currently it does all of that, but not properly handling failures.

Dependencies

~5–15MB
~203K SLoC