-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
33 lines (26 loc) · 1.37 KB
/
install.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
#!/bin/bash
# you need to set your password to run script of icon theme on '/appearance/icons/main.sh'
export SUDO_PASSWORD="YOUR_SUDO_PASSWORD"
# exec script only if computer has internet connection
if ! ping -c 1 8.8.8.8 -q &> /dev/null; then
echo -e "Your computer does not have an internet connection. Please verify your network and try again later."
exit 1
fi
contexts=(
# develop settings
develop
# softwares
softwares
appearance
)
# update mirrors and packages with pacman
sudo pacman-mirrors --fasttrack && sudo pacman -Syyu --noconfirm
# first update installed packages without confirmation (yes/no messages)
pamac update --no-confirm
for folder in ${contexts[@]}; do
cd ./$folder
sh main.sh
cd -
done
# change favorite apps on dock
dconf write /org/gnome/shell/favorite-apps "['org.gnome.Nautilus.desktop', 'google-chrome.desktop', 'firefox.desktop', 'obsidian.desktop', 'org.gnome.Terminal.desktop', 'code.desktop', 'discord.desktop', 'com.slack.Slack.desktop', 'bitwarden.desktop', 'io.dbeaver.DBeaver.desktop', 'com.github.wwmm.easyeffects.desktop', 'filezilla.desktop', 'com.obsproject.Studio.desktop', 'gnome-system-monitor.desktop', 'rest.insomnia.Insomnia.desktop', 'postman.desktop', 'org.manjaro.pamac.manager.desktop', 'org.gnome.Extensions.desktop', 'com.mattjakeman.ExtensionManager.desktop', 'org.gnome.tweaks.desktop', 'org.gnome.Boxes.desktop']"