Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdf/cliphist-wofi-img
Quick hack to display images in wofi for cliphist binary image history entries.
https://github.com/pdf/cliphist-wofi-img
Last synced: about 2 months ago
JSON representation
Quick hack to display images in wofi for cliphist binary image history entries.
- Host: GitHub
- URL: https://github.com/pdf/cliphist-wofi-img
- Owner: pdf
- License: mit
- Created: 2024-01-21T08:34:50.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-16T03:36:42.000Z (8 months ago)
- Last Synced: 2024-06-21T15:36:55.534Z (7 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cliphist-wofi-img
Quick hack to display images in wofi for cliphist binary image history entries.
## Install
```shell
go install github.com/pdf/cliphist-wofi-img@latest
````## Usage
- Ensure that both this application and cliphist are on the path.
- Set `pre_display_exec=true` in your wofi config (available as of wofi hg commit `846b4aeae44c`)
- Run wofi as follows:```shell
cliphist list | wofi --dmenu --allow-images --pre-display-cmd "cliphist-wofi-img %s" | cliphist decode | wl-copy
```