You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tai Groot 20c8fc7b38
update go deps
3 weeks ago
examples/millis Add README 5 months ago
matchers Add support for embedded matches 5 months ago
modules/millis Add support for embedded matches 5 months ago
watcher add clipboard access / writeback functionality 5 months ago
README.md Add README 5 months ago
clipassist.service Add README 5 months ago
go.mod update go deps 3 weeks ago
go.sum update go deps 3 weeks ago

README.md

ClipAssist

note: this project integrates with the system clipboard and the notifications system of your device, and as a result, requires CGO.

This tool serves as a framework for operating on selected text. It provides functionality to run in the background of your system and listen in on your clipboard operations. When a piece of text is copied that matches a specified regex, a function can be called against that piece of text.

For example, if you are copying a unix millisecond timestamp, it can automatically send you a desktop notification with the timestamp represented in a more human-readable fashion. See the examples folder for a working example of this.

A sample systemd unit file to be placed into /etc/systemd/user/clipassist.service is provided. Be sure to change the path to the binary to match your home folder.