Skip to content

Commit

Permalink
Merge pull request #153 from jgarte/jgarte-patch-1
Browse files Browse the repository at this point in the history
README: Add example for setting clipboard on Wayland
  • Loading branch information
Ninjani authored Dec 26, 2023
2 parents a8803ad + f977b5e commit 6ee780d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"?
Expand Down

0 comments on commit 6ee780d

Please sign in to comment.