Skip to content

Commit 654974d

Browse files
committed
docs: document Xephyr startup on x11
1 parent b7f01ba commit 654974d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ Examples of how to start for specific terminals:
7474
+ kitty: `DISPLAY=:99 WAYLAND_DISPLAY= kitty -c NONE -o placement_strategy=top-left -o linux_display_server=x11 -e nvim -c 'lua require("nxwm").start()'`
7575
+ alacritty: `DISPLAY=:99 WAYLAND_DISPLAY= alacritty --config-file /dev/null -e nvim -c 'lua require("nxwm").start()'`
7676
+ wezterm: `DISPLAY=:99 WAYLAND_DISPLAY= wezterm -n --config enable_tab_bar=false --config window_padding='{left=0,right=0,top=0,bottom=0}' start nvim -c 'lua require"nxwm".start()'`
77+
78+
### Start (from Xephyr in x11)
79+
* Install `Xephyr`.
80+
* Run `Xephyr -ac -br -noreset :99`.
81+
* You may add `-screen 800x600` to set the Xephyr window size.
82+
* Start your terminal emulator, passing `DISPLAY=:99` to start it in the Xephyr session.
83+
* Wezterm example: `DISPLAY=:99 wezterm -n --config enable_tab_bar=false --config window_padding='{left=0,right=0,top=0,bottom=0}' start nvim -c 'lua require"nxwm".start()'`
7784
### Start (from tty)
7885
1. Install [sx](https://github.com/Earnestly/sx).
7986
2. Run `sx {NXWM}` in a **tty** where `{NXWM}` is path to a terminal which runs Neovim and starts NXWM.\

0 commit comments

Comments
 (0)