I’ve added a variant of the sample from Sway - ArchWiki to my config now.
exec swayidle -w \
timeout 240 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"'
Turning the output off is about 200mA on imx8mp
I’ve added a variant of the sample from Sway - ArchWiki to my config now.
exec swayidle -w \
timeout 240 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"'
Turning the output off is about 200mA on imx8mp