clipmenu

Simple clipboard management using dmenu
git clone https://git.sinitax.com/cdown/clipmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

commit e315d8262cf1ad5b71912c8fc257b3407c10f8e3
parent 497ba9c95c9da24d368e5eb50c514d9877464952
Author: Chris Down <chris@chrisdown.name>
Date:   Sun, 19 Mar 2017 08:00:27 +0000

Forcibly add -dmenu if using rofi as $CM_LAUNCHER

Diffstat:
Mclipmenu | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/clipmenu b/clipmenu @@ -9,6 +9,11 @@ cache_file=$cache_dir/line_cache : "${CM_LAUNCHER=dmenu}" +if [[ "$CM_LAUNCHER" == rofi ]]; then + # rofi supports dmenu-like arguments through the -dmenu flag + set -- -dmenu "$@" +fi + if [[ $1 == --help ]]; then cat << EOF clipmenu is a simple clipboard manager using dmenu and xsel. Launch this