From a0e4bc98dd2f63bd097ca5b7fc3f720a2002ccd5 Mon Sep 17 00:00:00 2001 From: yory8 <> Date: Sun, 29 Sep 2019 10:16:08 +0200 Subject: [PATCH] docs: mention wofi support --- README.md | 2 +- main.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4da4cf3..4dbb804 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Requirements: - a windows manager that uses `wlr-data-control`, like Sway and other wlroots-based WMs. - wl-clipboard >= 2.0 -- dmenu or rofi +- dmenu, rofi or wofi [Install go](https://golang.org/doc/install), add `$GOPATH/bin` to your path, then run `go get github.com/yory8/clipman` OR run `go install` inside this folder. diff --git a/main.go b/main.go index 1ba76f3..e39e475 100644 --- a/main.go +++ b/main.go @@ -23,11 +23,11 @@ var ( picker = app.Command("pick", "Pick an item from clipboard history") maxPicker = picker.Flag("max-items", "scrollview length").Default("15").Int() - pickTool = picker.Flag("tool", "Which selector to use: dmenu/rofi/STDOUT").Short('t').Default("dmenu").String() + pickTool = picker.Flag("tool", "Which selector to use: dmenu/rofi/wofi/STDOUT").Short('t').Default("dmenu").String() clearer = app.Command("clear", "Remove item(s) from history") maxClearer = clearer.Flag("max-items", "scrollview length").Default("15").Int() - clearTool = clearer.Flag("tool", "Which selector to use: dmenu/rofi/STDOUT").Short('t').Default("dmenu").String() + clearTool = clearer.Flag("tool", "Which selector to use: dmenu/rofi/wofi/STDOUT").Short('t').Default("dmenu").String() clearAll = clearer.Flag("all", "Remove all items").Short('a').Default("false").Bool() )