arch-install89cb66a
remove sxiv and add imlib2 for nsxiv
+15 −15
1 file changed
- M arch_install.sh +15 −15
| @@ -6,32 +6,32 @@ pacman --noconfirm -Sy archlinux-keyring | |||
| 6 | 6 | loadkeys us | |
| 7 | 7 | timedatectl set-ntp true | |
| 8 | 8 | lsblk | |
| 9 | − | printf "\e[0;34mEnter the drive: \e[0m" | |
| 9 | + | printf "\e[0;34mEnter the drive: \e[0m" | |
| 10 | 10 | read drive | |
| 11 | − | cfdisk $drive | |
| 12 | − | printf "\e[0;34mEnter the EFI partition: \e[0m" | |
| 11 | + | cfdisk $drive | |
| 12 | + | printf "\e[0;34mEnter the EFI partition: \e[0m" | |
| 13 | 13 | read efipartition | |
| 14 | − | mkfs.fat -F32 $efipartition | |
| 14 | + | mkfs.fat -F32 $efipartition | |
| 15 | 15 | read -p "Did you also create swap partition? [y/n]" answer | |
| 16 | 16 | if [[ $answer = y ]] ; then | |
| 17 | − | printf "\e[0;34mEnter swap partition: \e[0m" | |
| 17 | + | printf "\e[0;34mEnter swap partition: \e[0m" | |
| 18 | 18 | read swappartition | |
| 19 | 19 | mkswap $swappartition | |
| 20 | 20 | swapon $swappartition | |
| 21 | 21 | fi | |
| 22 | − | printf "\e[0;34mEnter the linux filesystem partition: \e[0m" | |
| 22 | + | printf "\e[0;34mEnter the linux filesystem partition: \e[0m" | |
| 23 | 23 | read partition | |
| 24 | − | mkfs.ext4 $partition | |
| 24 | + | mkfs.ext4 $partition | |
| 25 | 25 | echo "mounting $partition to /mnt" | |
| 26 | − | mount $partition /mnt | |
| 26 | + | mount $partition /mnt | |
| 27 | 27 | pacstrap /mnt base base-devel linux linux-firmware | |
| 28 | 28 | genfstab -U /mnt >> /mnt/etc/fstab | |
| 29 | 29 | sed '1,/^#part2/d' arch_install.sh > /mnt/arch_install2.sh | |
| 30 | 30 | chmod +x /mnt/arch_install2.sh | |
| 31 | 31 | arch-chroot /mnt ./arch_install2.sh | |
| 32 | − | exit | |
| 32 | + | exit | |
| 33 | 33 | ||
| 34 | − | #part2 | |
| 34 | + | #part2 | |
| 35 | 35 | printf '\033c' | |
| 36 | 36 | ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime | |
| 37 | 37 | hwclock --systohc | |
| @@ -62,13 +62,13 @@ pacman -S --noconfirm xorg-server xorg-xprop xorg-xkill xorg-xsetroot xorg-xinit | |||
| 62 | 62 | awesome-terminal-fonts bat libnotify dunst ntfs-3g \ | |
| 63 | 63 | jq mpv ncdu maim transmission-cli yt-dlp cowsay \ | |
| 64 | 64 | pacman-contrib pavucontrol rsync ripgrep ueberzug ffmpegthumbnailer python-pywal \ | |
| 65 | − | sxiv xdotool xwallpaper zip unzip wget pcmanfm \ | |
| 65 | + | imlib2 xdotool xwallpaper zip unzip wget pcmanfm \ | |
| 66 | 66 | fzf man-db pipewire pipewire-pulse xcompmgr pamixer \ | |
| 67 | 67 | xclip sxhkd imagemagick connman wpa_supplicant git dash arc-gtk-theme papirus-icon-theme \ | |
| 68 | 68 | neovim lua rustup xdg-user-dirs mpd ncmpcpp unclutter \ | |
| 69 | − | zsh zsh-autosuggestions zathura zathura-pdf-poppler | |
| 70 | − | ||
| 71 | − | systemctl enable connman.service | |
| 69 | + | zsh zsh-autosuggestions zathura zathura-pdf-poppler | |
| 70 | + | ||
| 71 | + | systemctl enable connman.service | |
| 72 | 72 | rm /bin/sh | |
| 73 | 73 | ln -s dash /bin/sh | |
| 74 | 74 | # echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | |
| @@ -83,7 +83,7 @@ sed '1,/^#part3/d' arch_install2.sh > $ai3_path | |||
| 83 | 83 | chown $username:$username $ai3_path | |
| 84 | 84 | chmod +x $ai3_path | |
| 85 | 85 | su -c $ai3_path -s /bin/sh $username | |
| 86 | − | exit | |
| 86 | + | exit | |
| 87 | 87 | ||
| 88 | 88 | #part3 | |
| 89 | 89 | printf '\033c' | |