🔧 Setup.
Brightness control is integrated with SwayOSD and brightnessctl. Be sure to follow this steps on the SwayOSD documentation to be able to change the brightness.
If you wanna have automatic screen brightness, install wluma.
bash
yay -Sy wluma
Then, enable the systemd unit.
bash
systemctl --user enable --now wluma.service