mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 02:14:18 +00:00
Be more specific in the menu choices
This commit is contained in:
parent
e3116dae4f
commit
3f91a77fb6
@ -270,6 +270,7 @@ set_map_count() {
|
|||||||
############################################################################
|
############################################################################
|
||||||
# MAIN
|
# MAIN
|
||||||
############################################################################
|
############################################################################
|
||||||
|
clear
|
||||||
|
|
||||||
# Check if Zenity is available
|
# Check if Zenity is available
|
||||||
has_zen=0
|
has_zen=0
|
||||||
@ -279,7 +280,7 @@ fi
|
|||||||
|
|
||||||
# Use Zenity if it is available
|
# Use Zenity if it is available
|
||||||
if [ "$has_zen" -eq 1 ]; then
|
if [ "$has_zen" -eq 1 ]; then
|
||||||
check="Check my system settings for optimal performance"
|
check="Check vm.max_map_count for optimal performance"
|
||||||
clean="Delete my USER folder and preserve my keybinds"
|
clean="Delete my USER folder and preserve my keybinds"
|
||||||
list=("TRUE" "$check" "FALSE" "$clean")
|
list=("TRUE" "$check" "FALSE" "$clean")
|
||||||
|
|
||||||
@ -298,7 +299,7 @@ else
|
|||||||
# Use a text menu if Zenity is not available
|
# Use a text menu if Zenity is not available
|
||||||
echo -e "\nWelcome, fellow penguin, to the Star Citizen Linux Users Group Helper Script!\nWhat would you like to do?\n"
|
echo -e "\nWelcome, fellow penguin, to the Star Citizen Linux Users Group Helper Script!\nWhat would you like to do?\n"
|
||||||
|
|
||||||
options=("Check my system settings for optimal performance" "Delete my USER folder and preserve my keybinds")
|
options=("Check vm.max_map_count for optimal performance" "Delete my USER folder and preserve my keybinds")
|
||||||
PS3="Enter selection number or 'q' to quit: "
|
PS3="Enter selection number or 'q' to quit: "
|
||||||
|
|
||||||
select choice in "${options[@]}"
|
select choice in "${options[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user