-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·116 lines (103 loc) · 3 KB
/
install.sh
File metadata and controls
executable file
·116 lines (103 loc) · 3 KB
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
110
111
112
113
114
115
116
#! /bin/bash
# create temporary install list
cat native.sh > temp.nat
cat foreign.sh > temp.fo
nvidia=false
echo
echo \#############################################################################################################
echo
read -p "install nvidia drivers? [y/n]: "
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo nvidia-open >> temp.nat
nvidia=true
fi
echo
echo \#############################################################################################################
echo
read -p "install steam (ONLY IF MULTILIB IS ENABLED)? [y/n]: "
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo steam >> temp.nat
if $nvidia
then
echo nvidia-utils >> temp.nat
else
echo
echo \#############################################################################################################
echo
read -p "Intel graphics Card? [y/n]: "
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo vulkan-intel >> temp.nat
else
echo vulkan-radeon >> temp.nat
fi
fi
fi
echo
echo \#############################################################################################################
echo
read -p "install vlc with all plugins? [y/n]: "
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo vlc >> temp.nat
echo vlc-plugins-all >> temp.nat
fi
echo
echo \#############################################################################################################
echo
read -p "install krita? [y/n]: "
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo krita >> temp.nat
fi
echo
echo \#############################################################################################################
echo
read -p "install opentabletdriver? [y/n]: "
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo opentabletdriver >> temp.fo
echo
echo \#############################################################################################################
echo
read -p "install fcitx5-mozc (japanese support - needs to be configured)? [y/n]: "
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo fcitx5-mozc >> temp.nat
echo fcitx5-config-qt >> temp.nat
fi
# install pacman packages
cat temp.nat | sudo pacman -Sy - --noconfirm
# install AUR packages
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd ..
cat temp.fo | yay -Sy - --answerdiff None --answerclean None --mflags "--noconfirm" --sudoloop
# apply configs
su -c 'rsync -crl root/ / -v'
gsettings set org.gnome.desktop.interface gtk-theme Survey
gsettings set org.gnome.desktop.interface icon-theme Survey
sudo locale-gen
sudo chmod +x /usr/share/scripts/thematic
sudo chmod +x /usr/share/scripts/thematic-rofi-menu
sudo chmod +x /usr/share/scripts/thematic-power-menu
# install pipes.sh
git clone https://github.com/pipeseroni/pipes.sh
cd pipes.sh
sudo make install
cd ..
sudo rm -r pipes.sh
sudo chsh -s /usr/bin/fish
chsh -s /usr/bin/fish
# apply services
sudo systemctl disable getty@tty1.service
sudo systemctl disable getty@tty2.service
sudo systemctl disable getty@tty3.service
sudo systemctl enable ly@tty1.service
sudo systemctl enable ly@tty2.service
sudo systemctl enable ly@tty3.service
gsettings set org.gnome.desktop.interface color-scheme \'prefer-dark\'
fish