-
Notifications
You must be signed in to change notification settings - Fork 0
/
debianGnomeSetup.sh
executable file
·109 lines (91 loc) · 2.45 KB
/
debianGnomeSetup.sh
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/usr/bin/env bash
declare script_dir_path
script_dir_path="$(dirname -- "$0")"
declare script_dir
script_dir="$(realpath "$script_dir_path")"
source "$script_dir"/functions.sh
# Menu for selecting the installation steps
while true; do
echo 'Please select an option:'
echo '1. Update, install, and remove packages (Will be prompted for root/admin password)'
echo '2. Create custom directories in your home directory'
echo '3. Copy wallpapers to your ~/Pictures/wallpapers directory'
echo '4. Customize Gnome settings'
echo '5. Customize vimrc file settings'
echo '6. Install VLC, plugins, and restricted extras'
echo '7. Install UFW and enable it'
echo '8. Configure swappiness'
echo '9. Speed up boot time'
echo '10. Install Numix theme and icons'
echo '11. Prep and install VSCode'
echo '12. Configure Git'
echo '13. Execute all'
echo '0. Exit'
echo -n 'Enter the number of your choice: '
read -r choice
case $choice in
1)
update_debian
install_packages
remove_packages
;;
2)
create_directories
;;
3)
copy_wallpapers
;;
4)
customize_gnome
;;
5)
configure_vimrc
;;
6)
install_vlc_restricted_extras
;;
7)
install_ufw_enable
;;
8)
configure_swappiness
;;
9)
speed_boot_time
;;
10)
install_numix_theme
;;
11)
prep_for_vscode_install
install_vscode
;;
12)
configure_git
;;
13)
update_debian
install_packages
remove_packages
create_directories
copy_wallpapers
customize_gnome
configure_vimrc
install_vlc_restricted_extras
install_ufw_enable
configure_swappiness
speed_boot_time
install_numix_theme
prep_for_vscode_install
install_vscode
configure_git
;;
0)
echo 'Exiting.'
break
;;
*)
echo 'Invalid option. Please try again.'
;;
esac
done