2019-03-22 15:13:41 +01:00
# Clipman
2019-03-23 12:22:29 +01:00
A basic clipboard manager for Wayland, with support for persisting copy buffers after an application exits.
2019-03-22 15:13:41 +01:00
2019-05-13 12:41:44 +02:00
## Installing
Requirements:
2019-03-22 15:13:41 +01:00
2019-05-09 08:42:43 +02:00
- a windows manager that uses `wlr-data-control` , like Sway and other wlroots-based WMs.
2019-03-22 15:13:41 +01:00
- wl-clipboard from latest master (NOT v1.0)
2019-05-09 08:42:43 +02:00
- dmenu or rofi
2019-03-22 15:13:41 +01:00
2019-05-13 12:41:44 +02:00
[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/ ).
2019-03-22 15:13:41 +01:00
## Usage
2019-05-13 12:41:44 +02:00
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.
2019-03-22 15:13:41 +01:00
2019-03-22 16:25:09 +01:00
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` .
2019-03-23 12:22:29 +01:00
For more options: `clipman -h` .