Skip to content

Instantly share code, notes, and snippets.

@jjwatt
Last active July 12, 2024 18:41
Show Gist options
  • Save jjwatt/1808f5154194d370772faf137c7fefb5 to your computer and use it in GitHub Desktop.
Save jjwatt/1808f5154194d370772faf137c7fefb5 to your computer and use it in GitHub Desktop.
#!/bin/bash
x="$1"
y="$2"
: "${x:=800}"
: "${y:=600}"
Xephyr -screen "$x"x"$y" :5 \
& sleep 1 && \
DISPLAY=:5 awesome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment