This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomize-all.sh
executable file
·97 lines (75 loc) · 2.54 KB
/
customize-all.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
#!/usr/bin/env bash
# Run this script to apply all customizations in this repository
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR/packages
./install.sh
if [[ -f /bin/zsh ]]; then
printf '\nChanging shell to zsh...\n'
chsh -s /usr/bin/zsh
fi
cd $SCRIPT_DIR/gnome
./font-cursor-icon-theme.sh
./copy-change-theme.sh
read -s -n 1 -p 'If you want to apply the wallpapers, make sure that you have clicked "Download more EndeavourOS wallpapers" in EOS Welcome. Press any key to continue...'
if [[ -f /usr/share/endeavouros/backgrounds/eos_wallpapers_classic/Endy_planet.png\
&& -f /usr/share/endeavouros/backgrounds/eos_wallpapers_classic/EOS-JWST.png ]]; then
printf '\nSetting wallpapers...\n'
./background.sh
else
printf '\nWallpapers not found.\n'
fi
printf '\nApplying custom shortcuts...\n'
./custom-shortcuts.sh
read -n 1 -p 'Do you want to apply the mouse and touchpad settings? Y/n: ' MOUSE
if [[ $MOUSE =~ ^(|y|Y)$ ]]; then
printf '\nApplying mouse and touchpad settings...\n'
./mouse-touchpad-settings.sh
else
printf '\nSkipping.\n'
fi
read -n 1 -p 'Do you want to apply the multitasking settings? Y/n: ' MULTITASKING
if [[ $MULTITASKING =~ ^(|y|Y)$ ]]; then
printf '\nApplying multitasking settings...\n'
./multitasking-settings.sh
else
printf '\nSkipping.\n'
fi
read -n 1 -p 'Do you want to apply the top bar settings? Y/n: ' TOPBAR
if [[ $TOPBAR =~ ^(|y|Y)$ ]]; then
printf '\nApplying top bar settings...\n'
./topbar-settings.sh
else
printf '\nSkipping.\n'
fi
read -n 1 -p 'Apply current monitor layout to gdm login screen? y/N: ' MONITOR
if [[ $MONITOR =~ ^(y|Y)$ ]]; then
printf '\nCopying monitor layout...\n'
./gdm-monitor-layout.sh
else
printf '\nSkipping.\n'
fi
./extensions.sh
cd $SCRIPT_DIR/zsh
printf '\nCopying .zshrc and .zshenv...\n'
cp .zshrc $HOME
cp .zshenv $HOME
cd $SCRIPT_DIR/other
read -n 1 -p 'Configure rclone now? Y/n: ' RCC
if [[ $RCC =~ ^(|y|Y)$ ]]; then
./rclone-setup.sh
fi
read -n 1 -p 'Do you want to enable touchscreen support for Firefox? Y/n: ' FIREFOX_TOUCH
if [[ $FIREFOX_TOUCH =~ ^(|y|Y)$ ]]; then
printf '\nEnabling Firefox touchscreen support...\n'
./firefox-touchscreen-support.sh
else
printf '\nSkipping.\n'
fi
read -n 1 -p 'Do you want to enable bluetooth support? Y/n: ' BLUETOOTH
if [[ $BLUETOOTH =~ ^(|y|Y)$ ]]; then
printf '\nEnabling bluetooth support...\n'
./bluetooth.sh
else
printf '\nSkipping.\n'
fi
printf '\n\n\033[1mReboot your system to apply all changes.\033[0m\n\n'