From f977b5e78ca793e2c2e46ab8de84a60fb25cd48f Mon Sep 17 00:00:00 2001 From: jgart Date: Fri, 1 Sep 2023 23:34:37 -0500 Subject: [PATCH] README: Add example for setting clipboard on Wayland --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ecddb7..fca503b 100644 --- a/README.md +++ b/README.md @@ -310,10 +310,10 @@ variable `$THE_WAY_CONFIG` to point to this file. By default `xclip` is used on Linux, `pbcopy` on OSX and `termux-clipboard-set` on Android. You can override the default command by setting the `copy_cmd` field in the configuration file. -For example to use `xsel` as a copy command, set the `copy_cmd` field as follows: +For example to use `wl-copy` as a copy command on Wayland, set the `copy_cmd` field as follows: ```toml -copy_cmd = 'xsel -ib' +copy_cmd = 'wl-copy --trim-newline' ``` # Why "The Way"?