Skip to content

Wayland display management

Multi-display setup

way-displays

  • way-displays
  • Multiple contributors
  • Support for way-displays in /usr/share/sway/scripts/scale.sh (deployed by Manjaro Sway edition)

Install

sudo pacman -S way-displays

Config

mkdir -p ~/.config/way-displays
cp /etc/way-displays/cfg.yaml ~/.config/way-displays/cfg.yaml

Add yourself to the input group to monitor events:

sudo usermod -a -G input "${USER}"

Remove any output commands from your sway config file and add the following:

exec way-displays > /tmp/way-displays.${XDG_VTNR}.${USER}.log 2>&1

Restart the compositor

Usage

systemctl --user enable way-displays.service

Show current config:

way-displays -g

Logs:

cat /tmp/way-displays*

Tweak cfg.yaml to your liking and save it. Changes will be immediately applied.

Kanshi

Shikane

  • GitHub
  • No other contributors
  • Doesn't work with /usr/share/sway/scripts/scale.sh

srandr

Ncurses randr UI

wl-mirror

  • wl-mirror simple Wayland output mirror client

Fonts / Display setup

Brightness controll

wluma

Install:

sudo pacman -S wluma ddcutil

Grant udev permissions:

sudo cp /usr/lib/udev/rules.d/90-wluma-backlight.rules /etc/udev/rules.d/
reboot

Configure:

mkdir ~/.config/wluma/
cp /usr/share/wluma/examples/config.toml ~/.config/wluma/

Usage:

systemctl --user enable wluma
systemctl --user start wluma

Debug:

RUST_LOG=debug wluma

Issues

Color temperature management

Gammastep

Alternative to Redshift

Install:

sudo apt install gammastep

Or redshift-wayland (but there's no debian package):