Skip to content

Instantly share code, notes, and snippets.

@andreoss
Created January 2, 2022 05:17
Show Gist options
  • Save andreoss/d71f74db3858f2a08a6400bd999e0070 to your computer and use it in GitHub Desktop.
Save andreoss/d71f74db3858f2a08a6400bd999e0070 to your computer and use it in GitHub Desktop.
#!/bin/sh
XDISPLAY_NUM=3
XDISPLAY=":${XDISPLAY_NUM}"
export XDISPLAY
Xephyr -fp ~/.fonts/ -ac -br ":${XDISPLAY_NUM}" -resizeable &
XEPHYR_PID=$!
sleep 1
DISPLAY=$XDISPLAY xrdb "$HOME/.Xresources"
DISPLAY=$XDISPLAY STUMPWM_INNER="$XDISPLAY_NUM" "$HOME/.stumpwm.d/init.ros"
wait "$XEPHYR_PID"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment