diff --git a/bin/mbxcolors b/bin/mbxcolors index 6e8297d..632cef4 100755 --- a/bin/mbxcolors +++ b/bin/mbxcolors @@ -3,7 +3,7 @@ # Dependencies: jgmenu, xdotool, xcolor, gcolor3, gpick, pastel, xdg-utils, xclip, notify-send # TODO export to .gpl (GIMP,Inkscape) -VERSION="0.9.3" +VERSION="0.9.4" TEMP_DIR=/tmp/colormenu ME=${0##*/} @@ -443,7 +443,7 @@ case $LANG in ;; esac #MENU_PADDING_TOP=${jgtools_padding:-24} -MENU_PADDING_TOP=$((jgtools_padding+12)) +MENU_PADDING_TOP=$((jgtools_padding+24)) JGWIDTH="300" ITEM_HALIGN="center" jgmenu_icon_size=0 @@ -470,7 +470,7 @@ while read -r color name;do done < "$DATA_DIR/imagick.txt" cat << EOF > ${MENU_ITEMS} -@search,,25,15,292,20,4,left,top,auto,#262626,""" $TYPE_TO_SEARCH""" +@search,,$((jgtools_padding + 32)),$((jgtools_padding + 4)),292,20,4,left,top,auto,#262626,""" $TYPE_TO_SEARCH""" $(printf '%s\n' "${out[@]}") EOF