Rclip

Rclip - clipboard manager written in rust. It's just a daemon which look for clipboard updates and save them each per unique file.

Features

Bonus

Installation

Not yet provided. You can use cargo install --path ./. Also see ./install_scripts.sh for installing scripts.

Usage

First thing you need to do - is run daemon:

rclip daemon

(Recommended to add it to startup).

All saved history entries stored in ~/.rclip/{target_name}/, one file per entry.

Copying and removing entries

For convenience you can use presented scripts scripts/copy.sh and scripts/rm.sh or write your own. Mentioned scripts by default operate with text entries (using fzf), but you can pass argument image and it will operate with images (using feh). To select image in feh just press "enter" key.

Pause saving entries

If you use password manager, it will be useful to pause rclip, so just send signal SIGUSR1 and rclip will skip next clipboard update:

pkill -SIGUSR1 ^rclip$

Configuration

Config file ~/.config/rclip/config.toml will be automatically created on first run.

There is only two settings:

  1. targets_list - is a list of targets you want to save. Example (default):

targets_list = [ 'image/png', 'UTF8_STRING', ]

  1. min_length - is a minimal length of entry you want to save. By default is 3.

Inspiration

Inspired by greenclip, a clipboard manager written in haskell.