File tree Expand file tree Collapse file tree 9 files changed +31
-28
lines changed Expand file tree Collapse file tree 9 files changed +31
-28
lines changed Original file line number Diff line number Diff line change 2
2
3
3
. ../common-script.sh
4
4
5
- setupAlacritty () {
6
- echo " Install Alacritty if not already installed ..."
5
+ installAlacritty () {
6
+ echo " Installing Alacritty..."
7
7
if ! command_exists alacritty; then
8
8
case ${PACKAGER} in
9
9
pacman)
@@ -14,12 +14,12 @@ setupAlacritty() {
14
14
;;
15
15
esac
16
16
else
17
- echo " alacritty is already installed."
17
+ echo " Alacritty is already installed."
18
18
fi
19
19
}
20
20
21
21
setupAlacrittyConfig () {
22
- echo " Copy alacritty config files"
22
+ echo " Copying Alacritty configuration files... "
23
23
if [ -d " ${HOME} /.config/alacritty" ] && [ ! -d " ${HOME} /.config/alacritty-bak" ]; then
24
24
cp -r " ${HOME} /.config/alacritty" " ${HOME} /.config/alacritty-bak"
25
25
fi
@@ -30,5 +30,5 @@ setupAlacrittyConfig() {
30
30
31
31
checkEnv
32
32
checkEscalationTool
33
- setupAlacritty
33
+ installAlacritty
34
34
setupAlacrittyConfig
Original file line number Diff line number Diff line change 2
2
3
3
. ../common-script.sh
4
4
5
- setupFastfetch () {
6
- echo " Installing Fastfetch if not already installed ..."
5
+ installFastfetch () {
6
+ echo " Installing Fastfetch..."
7
7
if ! command_exists fastfetch; then
8
8
case ${PACKAGER} in
9
9
pacman)
@@ -29,5 +29,5 @@ setupFastfetchConfig() {
29
29
30
30
checkEnv
31
31
checkEscalationTool
32
- setupFastfetch
32
+ installFastfetch
33
33
setupFastfetchConfig
Original file line number Diff line number Diff line change 2
2
3
3
. ../common-script.sh
4
4
5
- setupKitty () {
6
- echo " Install Kitty if not already installed ..."
5
+ installKitty () {
6
+ echo " Installing Kitty..."
7
7
if ! command_exists kitty; then
8
8
case ${PACKAGER} in
9
9
pacman)
@@ -19,7 +19,7 @@ setupKitty() {
19
19
}
20
20
21
21
setupKittyConfig () {
22
- echo " Copy Kitty config files"
22
+ echo " Copying Kitty configuration files... "
23
23
if [ -d " ${HOME} /.config/kitty" ] && [ ! -d " ${HOME} /.config/kitty-bak" ]; then
24
24
cp -r " ${HOME} /.config/kitty" " ${HOME} /.config/kitty-bak"
25
25
fi
@@ -30,5 +30,5 @@ setupKittyConfig() {
30
30
31
31
checkEnv
32
32
checkEscalationTool
33
- setupKitty
33
+ installKitty
34
34
setupKittyConfig
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ cloneMyBash() {
14
14
}
15
15
16
16
installDepend () {
17
- echo " Install mybash if not already installed "
17
+ echo " Installing Bash... "
18
18
case " $PACKAGER " in
19
19
pacman)
20
20
$ESCALATION_TOOL " $PACKAGER " -S --needed --noconfirm bash bash-completion tar bat tree unzip fontconfig
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ cloneNeovim() {
13
13
cd " $HOME " && git clone https://github.com/ChrisTitusTech/neovim.git " $HOME /.local/share/neovim"
14
14
}
15
15
16
- setupNeovim () {
17
- echo " Install Neovim if not already installed "
16
+ installNeovim () {
17
+ echo " Installing Neovim... "
18
18
case " $PACKAGER " in
19
19
pacman)
20
20
$ESCALATION_TOOL " $PACKAGER " -S --needed --noconfirm neovim ripgrep fzf python-virtualenv luarocks go shellcheck
@@ -36,20 +36,22 @@ setupNeovim() {
36
36
}
37
37
38
38
backupNeovimConfig () {
39
+ echo " Backing up existing configuration files..."
39
40
if [ -d " $HOME /.config/nvim" ] && [ ! -d " $HOME /.config/nvim-backup" ]; then
40
41
cp -r " $HOME /.config/nvim" " $HOME /.config/nvim-backup"
41
42
fi
42
43
rm -rf " $HOME /.config/nvim"
43
44
}
44
45
45
46
linkNeovimConfig () {
47
+ echo " Linking Neovim configuration files..."
46
48
mkdir -p " $HOME /.config/nvim"
47
49
ln -s " $gitpath /titus-kickstart/" * " $HOME /.config/nvim/" # Wild card is used here to link all contents of titus-kickstart.
48
50
}
49
51
50
52
checkEnv
51
53
checkEscalationTool
52
54
cloneNeovim
53
- setupNeovim
55
+ installNeovim
54
56
backupNeovimConfig
55
57
linkNeovimConfig
Original file line number Diff line number Diff line change 2
2
3
3
. ../common-script.sh
4
4
5
- setupRofi () {
6
- echo " Install Rofi if not already installed ..."
5
+ installRofi () {
6
+ echo " Installing Rofi..."
7
7
if ! command_exists rofi; then
8
8
case " $PACKAGER " in
9
9
pacman)
@@ -19,7 +19,7 @@ setupRofi() {
19
19
}
20
20
21
21
setupRofiConfig () {
22
- echo " Copy Rofi config files"
22
+ echo " Copying Rofi configuration files... "
23
23
if [ -d " $HOME /.config/rofi" ] && [ ! -d " $HOME /.config/rofi-bak" ]; then
24
24
cp -r " $HOME /.config/rofi" " $HOME /.config/rofi-bak"
25
25
fi
@@ -35,5 +35,5 @@ setupRofiConfig() {
35
35
36
36
checkEnv
37
37
checkEscalationTool
38
- setupRofi
38
+ installRofi
39
39
setupRofiConfig
Original file line number Diff line number Diff line change 3
3
. ../common-script.sh
4
4
5
5
# Function to install zsh
6
- install_zsh () {
7
- echo " Install ZSH if not already installed ..."
6
+ installZsh () {
7
+ echo " Installing Zsh ..."
8
8
if ! command_exists zsh; then
9
9
case " $PACKAGER " in
10
10
pacman)
@@ -20,7 +20,8 @@ install_zsh() {
20
20
}
21
21
22
22
# Function to setup zsh configuration
23
- setup_zsh_config () {
23
+ setupZshConfig () {
24
+ echo " Setting up Zsh configuration..."
24
25
CONFIG_DIR=" $HOME /.config/zsh"
25
26
ZSHRC_FILE=" $CONFIG_DIR /.zshrc"
26
27
48
49
49
50
checkEnv
50
51
checkEscalationTool
51
- install_zsh
52
- setup_zsh_config
52
+ installZsh
53
+ setupZshConfig
Original file line number Diff line number Diff line change 3
3
. ../common-script.sh
4
4
5
5
installPkg () {
6
- echo " Install UFW if not already installed ..."
6
+ echo " Installing UFW..."
7
7
if ! command_exists ufw; then
8
8
case ${PACKAGER} in
9
9
pacman)
@@ -19,7 +19,7 @@ installPkg() {
19
19
}
20
20
21
21
configureUFW () {
22
- printf " %b\n" " ${GREEN } Using Chris Titus Recommended Firewall Rules${RC} "
22
+ printf " %b\n" " ${YELLOW } Using Chris Titus Recommended Firewall Rules${RC} "
23
23
24
24
echo " Disabling UFW"
25
25
$ESCALATION_TOOL ufw disable
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ fastUpdate() {
61
61
}
62
62
63
63
updateSystem () {
64
- printf " %b\n" " ${GREEN } Updating system${RC} "
64
+ printf " %b\n" " ${YELLOW } Updating system${RC} "
65
65
case ${PACKAGER} in
66
66
nala|apt-get)
67
67
$ESCALATION_TOOL " ${PACKAGER} " update -y
You can’t perform that action at this time.
0 commit comments