summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-07-20 21:52:35 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-07-20 21:52:35 +0530
commit470a9f2f3cefb0c4b528e2a53fce0c811410c798 (patch)
tree5b282a40dede1a5e217a30dcbba3c0a1dce3e879
parent617fa95c9384de7f2581872dc686b6283cf91548 (diff)
missing read hostname + misc
-rwxr-xr-xarch-magik.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch-magik.sh b/arch-magik.sh
index f0ceaeb..72d7e77 100755
--- a/arch-magik.sh
+++ b/arch-magik.sh
@@ -2,13 +2,15 @@
# Prerequisites:
# pacman -Sy git vim
-# cd
+# cd arch-magik
#part1
printf '\033c'
echo "Welcome to Saumit's arch installer and ricing bootstraping script"
# For faster overall Download of packages
sed -i "s/^#ParallelDownloads = 5$/ParallelDownloads = 15/" /etc/pacman.conf
+sed -i '/Color/s/^#//g' /etc/pacman.conf
+sed '/ParallelDownloads = 15/a ILoveCandy' /etc/pacman.conf
pacman --noconfirm -Sy archlinux-keyring
loadkeys us
@@ -62,6 +64,7 @@ sed -i '/en_US ISO-8859-1/s^#//g' /etc/locale.gen
locale-gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
echo "Hostname: (name of the device)"
+read hostname
echo $hostname > /etc/hostname
echo "127.0.0.1 localhost" >> /etc/hosts
echo "::1 localhost" >> /etc/hosts
@@ -74,7 +77,7 @@ sed -i 's/quiet/pci=noaer/g' /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg
pacman --noconfirm -S xorg-server xorg-xinit xorg-xkill xorg-xbacklight \
- gnu-free-fonts nerd-fonts-ubuntu-mono adobe-source-code-pro-fonts ttf-jetbrains-mono ttf-joypixels ttf-font-awesome \
+ gnu-free-fonts ttf-jetbrains-mono ttf-joypixels ttf-font-awesome \
sxiv mpv zathura zathura-pdf-mupdf ffmpeg imagemagick \
fzf man-db xwallpaper python-pywal unclutter xclip maim \
zip unzip unrar p7zip xdotool brightnessctl redshift \
@@ -132,6 +135,7 @@ git remote set-url origin git@github.com:justsaumit/dwmblocks.git
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
+yay -S nerd-fonts-ubuntu-mono adobe-source-code-pro-fonts
wallp=pix/Wallpaper/w/wow
mkdir -pv $wallp