[bin] Add new rofi clipboard manager
This commit is contained in:
parent
7af0204c8b
commit
1837104d59
|
@ -17,6 +17,10 @@ elif [[ "$1" == "bookmarks" ]]
|
|||
then
|
||||
FZF_DEFAULT_OPTS="--prompt=' '${FZF_DEFAULT_OPTS}"
|
||||
COMMAND=~/bin/launcher-bookmarks
|
||||
elif [[ "$1" == "clipboard" ]]
|
||||
then
|
||||
FZF_DEFAULT_OPTS="--prompt='📋 ' --algo=v1 --bind 'tab:up' --cycle --read0 ${FZF_DEFAULT_OPTS}"
|
||||
COMMAND=launcher-clipboard
|
||||
else
|
||||
exec alacritty --class launcher --config-file ~/.config/alacritty/alacritty-launcher.yml -d 80 40 -e ~/bin/launcher-run
|
||||
fi;
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
clipman --histpath=~/.local/share/clipman-primary.json pick --print0 --tool=CUSTOM --tool-args="fzf --prompt 'pick > ' --bind 'tab:up' --cycle --read0"
|
||||
|
||||
exec rofi -modi 'clipboard:greenclip print' -show clipboard
|
Loading…
Reference in New Issue