i'd go with just use xset q to check and use what ever works.
Code:
xset -dpms;command;xset +dpms
Statistics: Posted by kerry_s — Fri May 17, 2024 7:29 pm