This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # make sure sunshine is using "wlr" capture mode to see headless displays | |
| # create a new "Headless" app in sunshine for virtual display and set: | |
| # do commands | |
| sh -c "hyprctl keyword monitor HEADLESS-2,${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}@${SUNSHINE_CLIENT_FPS},auto,1" | |
| hyprctl keyword monitor eDP-1,disable | |
| # matching undo commands | |
| hyprctl keyword monitor HEADLESS-2,disable | |
| hyprctl reload |