I use wlr-randr to turn the screen on and off over SSH.
And a .desktop file that creates an icon on my home screen that runs
to keep the display on until I close the window.
Code:
wlr-randr --output DSI-1 --on --scale 2
Code:
gnome-session-inhibit --inhibit idle --reason 'Keep-Awake application is open' --inhibit-only