gcolor3 again

This commit is contained in:
Daniel Napora 2021-10-28 21:42:12 +02:00
parent f31d9471e0
commit 2a47f2d6b6

View File

@ -161,7 +161,7 @@ palettes() {
out2+=("<b>Add color...</b> from screen,$ME pickcolor '$file'")
if hash gcolor3 2>/dev/null; then
out2+=("^sep()")
out2+=("<b>Add</b> color from selector...,$ME addcolor")
out2+=("<b>Add</b> color from selector...,$ME addcolor '$file'")
fi
out2+=("^sep()")
out2+=("<b>Edit</b> palette file,xdg-open '$file'")
@ -317,7 +317,7 @@ trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS}" EXIT
out+=("^sep(mbxcolors <sup><span font_weight='light'> [$action $format]</span></sup>)")
#out+=("^sep(<span bgcolor='#800000'> </span><span fgcolor='#800000' bgcolor='#FABD2F'> mbx </span><span fgcolor='#FABD2F' bgcolor='#800000'> colors </span><span bgcolor='#FABD2F'> </span> <sup><span font_weight='light'>[$action $format]</span></sup>)")
out+=("<b>Pick</b> color from screen...,$ME pickcolor")
if hash pyuic5 2>/dev/null; then
if hash gcolor3 2>/dev/null; then
out+=("^sep()")
out+=("<b>Add</b> color from selector...,$ME addcolor")
fi