From 2f704348e4d872178b4e17585b689ffa95196feb Mon Sep 17 00:00:00 2001 From: yory8 <> Date: Thu, 31 Oct 2019 17:42:46 +0100 Subject: [PATCH] fix: update readme with correct wl-paste flag --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ada7cb..55829be 100644 --- a/README.md +++ b/README.md @@ -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`.