I use Wayland Hyprland, wlr-randr as an alternative to xrandr. Anyways, moving to the main issue.
I was recently trying to output my laptop screen to my TV using an hdmi cable, after a few configs, i got everything working just Perfectly. Except one thing, i cant turn off my laptop screen and it just eats my cpu power and battery.
I tried wlr-randr --output eDP-1 -off, and it restarted the gui of both my laptop and my tv screen. Which ended up bringing me to the login screen.
So, i was wondering, if anyone of you can suggest me a fix for this. I would be thankful, if you do so.