Hacker Newsnew | past | comments | ask | show | jobs | submit | NikkiA's favoriteslogin

This is how I do it under Sway (Wayland):

#!/bin/bash

swaymsg create_output OUTPUT=$(swaymsg -r -t get_outputs | jq '.[].name' | grep HEADLESS | tr -d '"')

# No need to reduce res, it defualts to 1080p #swaymsg output "$OUTPUT" resolution 1280x720

wl-mirror "$OUTPUT"

swaymsg output "$OUTPUT" unplug

When I was still in X11 land I used to just use Xephyr.


https://www.getblackbird.net/

Be sure to backup your system first. Blackbird thoroughly rips away whatever you choose.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: