From 14bf2b7baa46e168520c96a649acc4c00169b5c4 Mon Sep 17 00:00:00 2001 From: yory8 <39745367+yory8@users.noreply.github.com> Date: Thu, 10 Sep 2020 09:04:17 +0200 Subject: [PATCH] docs: fixup --- docs/clipman.1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/clipman.1 b/docs/clipman.1 index ad4a7ff..503b332 100644 --- a/docs/clipman.1 +++ b/docs/clipman.1 @@ -78,11 +78,9 @@ Separate items using NULL; recommended if your tool supports --read0 or similar .PP Serve the last recorded item from history .SH "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. If you want primary clipboard support, add the `-p` flag to the `wl-paste` command; note that primary and secondary clipboard will be mixed together. .PP To query the history and select items, run the binary as `clipman pick -t wofi`. You can assign it to a keybinding: `bindsym $mod+h exec clipman pick -t wofi`. -For primary clipboard support, `clipman pick -t wofi --histpath="~/.local/share/clipman-primary.json`. You can pass additional arguments to the selector like this: `clipman pick --tool wofi -T'--prompt=my-prompt -i'` (both `--prompt` and `-i` are flags of wofi). You can use a custom selector like this: `clipman pick --print0 --tool=CUSTOM --tool-args="fzf --prompt 'pick > ' --bind 'tab:up' --cycle --read0"`. .PP