clipmenu

Simple clipboard management using dmenu
git clone https://git.sinitax.com/cdown/clipmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 8538e01e5c3dff35172789e946d1a60df4ed658b
parent 7c34ace1fbab76eb1c1dc9b30dd4ac1a7fe4b90b
Author: Chris Down <chris@chrisdown.name>
Date:   Sat, 17 Oct 2020 00:47:39 +0100

readme: Add information about $DISPLAY

Diffstat:
MREADME.md | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -9,10 +9,21 @@ clipmenu is a simple clipboard manager using [dmenu][] (or [rofi][] with # Usage +## clipmenud + Start `clipmenud`, then run `clipmenu` to select something to put on the clipboard. For systemd users, a user service called `clipmenud` is packaged as part of the project. +For those using a systemd unit and not using a desktop environment which does +it automatically, you must import `$DISPLAY` so that `clipmenud` knows which X +server to use. For example, in your `~/.xinitrc` do this prior to launching +clipmenud: + + systemctl --user import-environment DISPLAY + +## clipmenu + You may wish to bind a shortcut in your window manager to launch `clipmenu`. All args passed to clipmenu are transparently dispatched to dmenu. That is, if