-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patharchFreshSetup
executable file
·39 lines (25 loc) · 931 Bytes
/
archFreshSetup
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
#!/bin/bash
echo "Important! Run this inside the dotfiles folder!"
sleep 2
echo "Also, only do this AFTER you completed Arch Linux installation! Follow guide on arch-install-help.txt"
sleep 2
cd ~
echo "Installing essential Arch apps..."
sleep 1
sudo pacman -S xorg-server xorg-xinit i3-gaps rxvt-unicode tlp tlp-rdw powertop lightdm lightdm-gtk-greeter python-pip pamixer pulseaudio pulseaudio-alsa alsa-utils w3m polkit-gnome
sudo systemctl enable lightdm
sudo powertop --auto-tune
echo "Configuring i3 on boot..."
sleep 1
echo "exec i3" | tee -a ~/.xinitrc
echo "loadkeys pt" | tee -a ~/.xinitrc
echo "export LANG=en_GB.UTF-8" | tee -a ~/.bashrc
echo "export LANGUAGE=en_GB.UTF-8" | tee -a ~/.bashrc
echo "xrdb merge ~/.Xresources" | tee -a ~/.bashrc
cd Downloads
echo "Downloading and installing yay..."
sleep 1
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
./Scripts/setupScripts/commonSetup