Skip to content

Instantly share code, notes, and snippets.

@ryot4
Created July 24, 2016 16:06
Show Gist options
  • Save ryot4/f2b6c610c870f7b4632b31aa6b4c1b13 to your computer and use it in GitHub Desktop.
Save ryot4/f2b6c610c870f7b4632b31aa6b4c1b13 to your computer and use it in GitHub Desktop.
#!/bin/sh
xephyr_options="-ac -screen ${1:-800x600}"
xephyr=$(which Xephyr)
if [ -z "$xephyr" ]; then
echo 'Xephyr not found'
exit 1
fi
startx "$HOME/.xephyr_session" -- "$xephyr" $xephyr_options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment