blob: 35b62be85e6bf3b887c9f365f43041fe87e900dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
#!/bin/bash
# Function to display initialization prompt
display_init_prompt() {
clear
echo "================================="
echo "| Welcome to Optimize My Arch! |"
echo "================================="
echo "Let's set up your Arch Linux environment."
echo ""
# Desktop Environment Options
echo "Choose your preferred desktop environment:"
echo "1. KDE Plasma [Default]"
echo "2. GNOME"
echo "3. Xfce"
echo "4. Cinnamon"
echo "5. MATE"
echo "6. LXQt"
echo "7. i3 (tiling window manager)"
read -p "Enter the number of your preferred desktop environment [1]: " desktop_environment_choice
case $desktop_environment_choice in
1) desktop_environment="KDE Plasma" ;;
2) desktop_environment="GNOME" ;;
3) desktop_environment="Xfce" ;;
4) desktop_environment="Cinnamon" ;;
5) desktop_environment="MATE" ;;
6) desktop_environment="LXQt" ;;
7) desktop_environment="i3" ;;
*) desktop_environment="KDE Plasma" ;;
esac
# Disk Type Options
echo ""
echo "Choose your disk type:"
echo "1. SATA (sda) [Default]"
echo "2. HDD (sdb, etc.)"
echo "3. SSD (sdb, etc.)"
echo "4. NVMe"
read -p "Enter the number of your disk type [1]: " disk_type_choice
case $disk_type_choice in
1) disk_type="SATA" ;;
2) disk_type="HDD" ;;
3) disk_type="SSD" ;;
4) disk_type="NVMe" ;;
*) disk_type="SATA" ;;
esac
# AUR Helper Options
echo ""
echo "Choose your AUR helper:"
echo "1. paru [Default]"
echo "2. yay"
echo "3. pacman"
read -p "Enter the number of your preferred AUR helper [1]: " aur_helper_choice
case $aur_helper_choice in
1) aur_helper="paru" ;;
2) aur_helper="yay" ;;
3) aur_helper="pacman" ;;
*) aur_helper="paru" ;;
esac
# Purpose of using Arch Linux Options
echo ""
echo "Choose the primary purpose of using Arch Linux:"
echo "1. Casual/Browsing [Default]"
echo "2. Coding/Development"
echo "3. Gaming"
echo "4. Multimedia/Content Creation"
echo "5. Server/Networking"
read -p "Enter the number of your primary purpose [1]: " purpose_choice
case $purpose_choice in
1) purpose="Casual/Browsing" ;;
2) purpose="Coding/Development" ;;
3) purpose="Gaming" ;;
4) purpose="Multimedia/Content Creation" ;;
5) purpose="Server/Networking" ;;
*) purpose="Casual/Browsing" ;;
esac
read -p "Would you like to optimize for this purpose? (y/N): " optimize_choice
case $optimize_choice in
[yY]) optimize_purpose="y" ;;
*) optimize_purpose="n" ;;
esac
}
|