Fixed example for Wayland

This commit is contained in:
Luxferre
2023-04-01 10:47:37 +03:00
parent b88975b925
commit bbb711d1ff
+1 -1
View File
@@ -88,7 +88,7 @@ You can override the `BOPHER_LINKSTASH` environment variable to change the locat
This functionality is too OS/environment-specific and thus can't be built **into** Bopher-NG. Since April 2023, however, Bopher-NG supports copying the current URL to the OS/env clipboard at the same time as stashing, if **and only if** you set the `BOPHER_CLIP` environment variable before invocation. This variable must be set to a valid command that performs copying the standard input to the system clipboard. If you plan on using it constantly, I suggest to add one of the following values to your `.bashrc`:
- for Linux + X11 GUI: `export BOPHER_CLIP='xsel -bi'`
- for Linux + Wayland (with `wl-clipboard` package): `export BOPHER_CLIP=wlcopy`
- for Linux + Wayland (with `wl-clipboard` package): `export BOPHER_CLIP=wl-copy`
- for macOS: `export BOPHER_CLIP=pbcopy`
- for GNU Screen environment (on any OS): `export BOPHER_CLIP='xargs -0 screen -X register .'`