Scripts version 2247

This commit is contained in:
Mikhail Tergoev
2024-01-23 20:44:12 +03:00
parent 791c25a850
commit a672741c69
9 changed files with 39 additions and 15 deletions

View File

@ -476,7 +476,7 @@ gui_vkBasalt () {
if [[ "$read_list_fx" == "TRUE" ]] ; then
export GUI_FX_RESULT+="${LIST_FX[$INT_COUNT_FX]}:"
fi
export INT_COUNT_FX=$(( ${INT_COUNT_FX} + 1 ))
((INT_COUNT_FX++))
done
GUI_FX_RESULT="${GUI_FX_RESULT}cas"
export PW_VKBASALT_EFFECTS="${GUI_FX_RESULT}"
@ -571,15 +571,15 @@ gui_MangoHud () {
FPS_LIMIT=$(cat "${PORT_WINE_TMP_PATH}/tmp_yad_mh_fps_limit" | awk '{print $1}')
MONITOR_HEIGHT="$(echo $PW_SCREEN_RESOLUTION | awk -F'x' '{print $2}')"
MH_FONT_SIZE="font_size=(( $MONITOR_HEIGHT / 45 ))"
MH_FONT_SIZE="font_size=$(( MONITOR_HEIGHT / 45 ))"
export INT_COUNT_FX=0
export INT_COUNT_MH=0
for read_list_mh in ${YAD_MH_SET} ; do
if [[ "$read_list_mh" == "TRUE" ]]
then export GUI_MH_RESULT+="${LIST_MH[$INT_COUNT_FX]},"
then export GUI_MH_RESULT+="${LIST_MH[$INT_COUNT_MH]},"
fi
((INT_COUNT_FX++))
((INT_COUNT_MH++))
done
if [[ -n "$MH_FONT_SIZE" ]]