try fix unicode

master
Daniel Napora 2021-10-20 20:10:12 +02:00
parent 206effb078
commit fe915056c5
2 changed files with 5 additions and 5 deletions

View File

@ -160,7 +160,7 @@ if [[ $apps_in_submenu == true ]]
then then
cat <<EOF > $HOME/.config/jgmenu/prepend.csv cat <<EOF > $HOME/.config/jgmenu/prepend.csv
@text,,$((menu_padding + 24)),$((menu_padding_top-font_size*item_height_factor/100)),150,20,0,left,top,auto,#000000,<span size="large"></span> @text,,$((menu_padding + 24)),$((menu_padding_top-font_size*item_height_factor/100)),150,20,0,left,top,auto,#000000,<span size="large">🔍</span>
@search,,$((menu_padding + 38)),$((menu_padding + 4)),150,20,2,left,top,auto,#000000 0,<i>type to search</i> @search,,$((menu_padding + 38)),$((menu_padding + 4)),150,20,2,left,top,auto,#000000 0,<i>type to search</i>
. ~/.config/mbxutils/inc/favorites.csv . ~/.config/mbxutils/inc/favorites.csv
$APPS,^checkout(apps),applications-other $APPS,^checkout(apps),applications-other
@ -175,7 +175,7 @@ EOF
else else
cat <<EOF > $HOME/.config/jgmenu/prepend.csv cat <<EOF > $HOME/.config/jgmenu/prepend.csv
@text,,$((menu_padding+20)),$((menu_padding_top-font_size*item_height_factor/100)),150,$((font_size*item_height_factor/100)),0,left,top,auto,#000000,<span size="large"></span> @text,,$((menu_padding+20)),$((menu_padding_top-font_size*item_height_factor/100)),150,$((font_size*item_height_factor/100)),0,left,top,auto,#000000,<span size="large"></span>
@search,,$((menu_padding + 38)),$((menu_padding_top-font_size*item_height_factor/100)),150,$((font_size*item_height_factor/100)),2,left,top,auto,#000000,<i><u> type to search </u></i> @search,,$((menu_padding + 38)),$((menu_padding_top-font_size*item_height_factor/100)),150,$((font_size*item_height_factor/100)),2,left,top,auto,#000000,<i><u> type to search </u></i>
. ~/.config/mbxutils/inc/favorites.csv . ~/.config/mbxutils/inc/favorites.csv
EOF EOF
@ -322,7 +322,7 @@ case "$1" in
preferences) preferences "$2";; preferences) preferences "$2";;
fonts) fonts "$2";; fonts) fonts "$2";;
setvar) setvar "$2";; setvar) setvar "$2";;
*);; *) about;;
esac esac
exit 0 exit 0

View File

@ -60,8 +60,8 @@ else
done done
fi fi
printf "%b\n" "^sep(<small><i>${DIRECTORY:-/}</i></small>)" printf "%b\n" "^sep(<small><i>${DIRECTORY:-/}</i></small>)"
printf "%b\n" " $OPENDIR,xdg-open \"${DIRECTORY:-/}\"" printf "%b\n" "<big> <tt>◳</tt> </big> $OPENDIR,xdg-open \"${DIRECTORY:-/}\""
printf "%b\n" "<big></big> $OPENTERM,${terminal} ${wdir}\"${DIRECTORY:-/}\"" printf "%b\n" "<big> <tt>▶</tt> </big> $OPENTERM,${terminal} ${wdir}\"${DIRECTORY:-/}\""
if [ ${#dirs[@]} -ne 0 ]; then if [ ${#dirs[@]} -ne 0 ]; then
printf "%b\n" "^sep($DIRECTORIES <small>(${#dirs[@]})</small>)" printf "%b\n" "^sep($DIRECTORIES <small>(${#dirs[@]})</small>)"