Skip to content

SHORiN-KiWATA/shorinclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shorinclip

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 shorinclip
    

    For best image preview, a terminal which supports kitty image protocol is needed, such as kitty or ghostty, 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 store
    

    Open tui with this command: shorinclip

    Then 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
      

About

A wayland clipboard TUI with image preview based on fzf, wl-clipboard and cliphist. Image preview is provided by kitty icat and chafa.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages