You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.6 KiB

fzf-clipboard

manage clipboard history via the terminal

  • tutorial video: Link
  • offical website: Link

install requirements

greenclip fzf xclip

add to autostart

greenclip daemon

configuration

vim ~/.bashrc or ~/.zshrc


# start fuzzy finder frontend to greenclip
fzf-clipboard() { echo -n "$(greenclip print | fzf -e -i)" | xclip -selection clipboard ;}

# greenclip configuration settings
cfg-greenclip() { killall greenclip ; $EDITOR ~/.config/greenclip.cfg && nohup greenclip daemon > /dev/null 2>&1 & }

# greenclip reload
rld-greenclip() { killall greenclip ; nohup greenclip daemon > /dev/null 2>&1 & }

# greenclip clear history
derez-greenclip() { killall greenclip ; rm ~/.cache/greenclip.history && nohup greenclip daemon > /dev/null 2>&1 & }

references

contact

             _   _     _      _         
  __ _  ___ | |_| |__ | | ___| |_ _   _ 
 / _` |/ _ \| __| '_ \| |/ _ \ __| | | |
| (_| | (_) | |_| |_) | |  __/ |_| |_| |
 \__, |\___/ \__|_.__/|_|\___|\__|\__,_|
 |___/