diff --git a/bin/mbxcolors b/bin/mbxcolors
index c5f9828..bf78659 100755
--- a/bin/mbxcolors
+++ b/bin/mbxcolors
@@ -4,7 +4,7 @@
# TODO check for other color-tools like gpick,gcolor2 and add launchers to menu
# TODO export to .gpl (GIMP,Inkscape)
-VERSION="0.1.7"
+VERSION="0.2.0"
TEMP_DIR=/tmp/colormenu
ME=${0##*/}
@@ -72,6 +72,8 @@ pickcolor() {
fi
$ME
}
+
+## pycolor pick color by pyqt color dialog - not used yet
pycolor() {
read -r -d '' script <<-"----EOF"
import sys
@@ -91,6 +93,7 @@ if __name__ == "__main__":
----EOF
python -c "$script"
}
+
addcolor() {
color=$(gcolor3)
if [ -n "${color}" ]; then
@@ -154,7 +157,7 @@ palettes() {
#name=$(printf "%22s %s\n" "$name")
#fg=$(fgcolor $color)
#out2+=(" $color$name ,$ME getcolorcode '$color' '$file',,,#${palette}")
- out2+=("$color ,$ME getcolorcode '$color' '$file',,,#${palette}")
+ out2+=("$color ,$ME getcolorcode '$color' '$file';$ME setvar expose=palette,,,#${palette}")
done < "$file"
if [[ -n "$1" ]] ; then
out2+=("^sep()")
@@ -180,6 +183,7 @@ palettes() {
fi
}
+## not used anymore(?)
htmlcolors() {
out+=("HTML colors,^checkout(html)")
out2+=("^tag(html)")