https://github.com/janza/wl-clipboard-history
Wayland clipboard history tracker
https://github.com/janza/wl-clipboard-history
clipboard-history clipboard-manager fzf-scripts sqlite sway wayland wl-clipboard
Last synced: 26 days ago
JSON representation
Wayland clipboard history tracker
- Host: GitHub
- URL: https://github.com/janza/wl-clipboard-history
- Owner: janza
- License: mit
- Created: 2019-03-25T21:18:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-10T11:38:51.000Z (over 1 year ago)
- Last Synced: 2025-04-01T22:46:51.657Z (about 2 months ago)
- Topics: clipboard-history, clipboard-manager, fzf-scripts, sqlite, sway, wayland, wl-clipboard
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 42
- Watchers: 4
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wl-clipboard-history: Wayland clipboard history tracker
Simple bash script that uses [wl-clipboard](https://github.com/bugaevc/wl-clipboard) and sqlite to remember wayland clipboard history.
### Usage
Usage: ./wl-clipboard-history OPTION [ARG]-t Track clipboard changes
-l [NUMBER] Print last NUMBER of clipboard entries (defaults to 10 entries)
-p [INDEX] Print clipboard entry at INDEX (defaults to the last entry)To use with [sway](https://github.com/swaywm/sway) add the following to your configuration:
exec wl-clipboard-manager -t
There's also a [fzf](https://github.com/junegunn/fzf) wrapper for selecting the contents with a [TUI](https://github.com/janza/wl-clipboard-history/blob/master/contrib/fzf-wrapper).
### TODO
- [ ] Add support to delete entries from the history (eg. secrets)