Skip to content

Instantly share code, notes, and snippets.

@Zerodya
Zerodya / readme.md
Created December 24, 2023 15:39
Turn off your monitor in Hyprland when streaming with Sunshine (without an HDMI Dummy Plug)

Turn off your monitor in Hyprland when streaming with Sunshine (without an HDMI Dummy Plug)

I often use Sunshine to stream my PC games to my Android phone using Moonlight, but one thing that always bothered me is that I cannot turn my monitor off while streaming or else no video would be sent to Moonlight.

To solve this I would need to:

  1. Use an HDMI Dummy Plug to get a fake monitor
  2. Move video content from the real monitor to the fake monitor
  3. Stream the fake monitor
  4. Turn off the real monitor