My first bash script.
A wayland clipboard TUI based on fzf wl-clipboard cliphist.
Use chafa for image preview, kitty icat for gif preview when using native kitty, ffmpegthumbnailer for video thumb generation.
-
some images
- kitty
-
installation
yay -S shorinclipFor best image preview, a terminal which supports kitty image protocol is needed, such as
kittyorghostty, or you can let chafa handle image preview (maybe low quality).For example :
- foot
- alacritty
-
usage
Open cliphist daemon with this command:
wl-paste --watch cliphist storeOpen tui with this command:
shorinclipThen it just works.
Don't forget to setup autostart in your wayland compositor's config file.
-
Niri
spawn-at-startup "wl-paste" "--watch" "cliphist" "store" -
Hyprland
exec-once = wl-paste --watch cliphist store
-


