From b164b79048b56195d811e90fce34ed8a25813779 Mon Sep 17 00:00:00 2001 From: yory8 <> Date: Mon, 13 May 2019 12:41:44 +0200 Subject: [PATCH] docs: add installing instructions --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b02450a..2eb6aa8 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,21 @@ A basic clipboard manager for Wayland, with support for persisting copy buffers after an application exits. -## Requirements +## Installing + +Requirements: - a windows manager that uses `wlr-data-control`, like Sway and other wlroots-based WMs. - wl-clipboard from latest master (NOT v1.0) - dmenu or rofi +[Install go](https://golang.org/doc/install), add `$GOPATH/bin` to your path, then run `go install` inside this folder. + +Archlinux users can find a PKGBUILD [here](https://aur.archlinux.org/packages/clipman/). + ## Usage -Install the binary in your path, then run it in your Sway session by adding `exec clipman -d` at the beginning of your config. +Run the binary in your Sway session by adding `exec clipman -d` (or `exec clipman -d 1>> PATH/TO/LOGFILE 2>&1` to log errors) at the beginning of your config. To query the history and select items, run the binary as `clipman -s`. You can assign it to a keybinding: `bindsym $mod+h exec clipman -s`.