From 2a47f2d6b66ec4a5d83f354d2387252dc39f67d7 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Thu, 28 Oct 2021 21:42:12 +0200 Subject: [PATCH] gcolor3 again --- bin/mbxcolors | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mbxcolors b/bin/mbxcolors index e01f052..c5f9828 100755 --- a/bin/mbxcolors +++ b/bin/mbxcolors @@ -161,7 +161,7 @@ palettes() { out2+=("Add color... from screen,$ME pickcolor '$file'") if hash gcolor3 2>/dev/null; then out2+=("^sep()") - out2+=("Add color from selector...,$ME addcolor") + out2+=("Add color from selector...,$ME addcolor '$file'") fi out2+=("^sep()") out2+=("Edit palette file,xdg-open '$file'") @@ -317,7 +317,7 @@ trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT out+=("^sep(mbxcolors [$action $format])") #out+=("^sep( mbx colors [$action $format])") out+=("Pick color from screen...,$ME pickcolor") -if hash pyuic5 2>/dev/null; then +if hash gcolor3 2>/dev/null; then out+=("^sep()") out+=("Add color from selector...,$ME addcolor") fi