Greenclip

Greenclip is a simple clipboard manager designed to be integrated with rofi and written in Haskell.

Installation

Install the rofi-greenclipAUR package.

Start/enable the user unit greenclip.service.

Usage

  1. Spawn the daemon with /usr/bin/greenclip daemon or start/enable the user unit as mentioned in #Installation
  2. Show entries as a list within rofi using: rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
  3. The entry that you have selected will be in your clipboard now
  4. Configuration file is placed in ~/.config/greenclip.toml
  5. To clear all clipboard history, run greenclip clear

Troubleshooting

Unable to record clipboard on i3wm

Put the following in the i3 configuration file. No need to start the service. greenclip issue #70

~/.config/i3/config
# clipboard tool
exec --no-startup-id greenclip daemon>/dev/null
bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard
gollark: I would, because GTechâ„¢ truth generators say it's not true that I write on paper with sausages.
gollark: So you can see why this is inaccurate.
gollark: I do not write on paper with sausages.
gollark: That's a sausage.
gollark: Well, they're probably using outdated beekeeping methods which are unaware of the latest research in bee cyclotrons and relativistic apioformic dynamics.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.