fix: update readme with correct wl-paste flag

This commit is contained in:
yory8 2019-10-31 17:42:46 +01:00
parent e5bf8fa6a4
commit 2f704348e4

View file

@ -16,8 +16,8 @@ Archlinux users can find a PKGBUILD [here](https://aur.archlinux.org/packages/cl
## Usage
Run the binary in your Sway session by adding `exec wl-paste -t text --watch clipman store` (or `exec wl-paste -t text --watch clipman store 1>> PATH/TO/LOGFILE 2>&1 &` to log errors) at the beginning of your config.
For primary clipboard support, also add `exec wl-paste -p -t text --watch clipman store --histpath="~/.local/share/clipman-primary.json`.
Run the binary in your Sway session by adding `exec wl-paste -t TEXT --watch clipman store` (or `exec wl-paste -t TEXT --watch clipman store 1>> PATH/TO/LOGFILE 2>&1 &` to log errors) at the beginning of your config.
For primary clipboard support, also add `exec wl-paste -p -t TEXT --watch clipman store --histpath="~/.local/share/clipman-primary.json`.
To query the history and select items, run the binary as `clipman pick`. You can assign it to a keybinding: `bindsym $mod+h exec clipman pick`.
For primary clipboard support, `clipman pick --histpath="~/.local/share/clipman-primary.json`.