diff --git a/Makefile b/Makefile index b76792ed..2853d9a2 100644 --- a/Makefile +++ b/Makefile @@ -18,3 +18,7 @@ uninstall: -rm $(DESTDIR)$(PREFIX)/bin/fynedesk_runner -rm $(DESTDIR)$(PREFIX)/bin/fynedesk -rm $(DESTDIR)$(PREFIX)/share/xsessions/fynedesk.desktop + +embed: + DISPLAY=:0 Xephyr :1 -screen 1280x720 & + DISPLAY=:1 fynedesk diff --git a/README.md b/README.md index 0d48dd81..b2ce025f 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,7 @@ Once installed you could set `$GOPATH/fynedesk` as your window manager (usually using .xinitrc). You can also run it in an embedded X window for testing using: - DISPLAY=:0 Xephyr :1 -screen 1280x720 & - DISPLAY=:1 fynedesk + make embed It should look like this: