From 02aab980f2b848b86f0e7188e61ed5721ea05a1c Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Sun, 1 May 2022 17:32:05 +0200 Subject: [PATCH] upd --- bin/mbxcolors | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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