#!/bin/bash

# Run Firefox inside Emacs inside X inside Wayland.

# Because the thought of using Firefox without Emacs key bindings is
# too awful to even contemplate.

export DISPLAY=:1
unset WAYLAND_DISPLAY

Xephyr -no-host-grab -screen 1920x1080 -retro $DISPLAY &

emacs &
firefox &