Wayland display management
Multi-display setup
- swayws: easy moving of workspaces to and from outputs
- Two Alternative Multi-Monitor Setups
way-displays
- way-displays
- Multiple contributors
- Support for way-displays in
/usr/share/sway/scripts/scale.sh
(deployed byManjaro 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
- Kanshi: define output profiles that are automatically enabled and disabled on hotplug
- No other contributors
- Wildcard support missing Feature request: Use regex in output name
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
- GitHub
- Config at
~/.config/wluma/config.toml
Install:
sudo pacman -S wluma ddcutil
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):