From 7a4de1ad21b10e9e880e8704b6cef4f92918a5b6 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sat, 16 Jan 2021 22:09:46 -0500 Subject: [PATCH] Rearrange menu --- lug-helper.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index 4e40fe3..63966bc 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -1070,19 +1070,19 @@ while true; do # Configure the menu options runners_msg="Manage Lutris Runners" sanitize_msg="Delete my Star Citizen USER folder and preserve my keybinds" + shaders_msg="Delete my shaders folder only (Do this after each game update)" + vidcache_msg="Delete my DXVK cache" version_msg="Switch the Helper between LIVE and PTU (Currently: $live_or_ptu)" mapcount_msg="Check vm.max_map_count for optimal performance" filelimit_msg="Check my open file descriptors limit" - shaders_msg="Delete my shaders only" - vidcache_msg="Delete my DXVK cache" randomizer_msg="Get a random Penguin's Star Citizen referral code" reset_msg="Reset Helper" quit_msg="Quit" # Set the options to be displayed in the menu - menu_options=("$runners_msg" "$sanitize_msg" "$version_msg" "$mapcount_msg" "$filelimit_msg" "$shaders_msg" "$vidcache_msg" "$randomizer_msg" "$reset_msg" "$quit_msg") + menu_options=("$runners_msg" "$sanitize_msg" "$shaders_msg" "$vidcache_msg" "$version_msg" "$mapcount_msg" "$filelimit_msg" "$randomizer_msg" "$reset_msg" "$quit_msg") # Set the corresponding functions to be called for each of the options - menu_actions=("runner_manage" "sanitize" "set_version" "mapcount_set" "filelimit_set" "rm_shaders" "rm_vidcache" "referral_randomizer" "reset_helper" "quit") + menu_actions=("runner_manage" "sanitize" "rm_shaders" "rm_vidcache" "set_version" "mapcount_set" "filelimit_set" "referral_randomizer" "reset_helper" "quit") # Calculate the total height the menu should be menu_height="$(("$menu_option_height" * "${#menu_options[@]}" + "$menu_text_height"))"