diff --git a/README.md b/README.md index aebcf4b..9f8f044 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ # arch-install -arch linux install script with all my configs... -forked from bugswriter. +Base arch install script/guide diff --git a/arch_install.md b/arch_install.md index 8356b6e..e88eff7 100755 --- a/arch_install.md +++ b/arch_install.md @@ -108,67 +108,22 @@ grub-mkconfig -o /boot/grub/grub.cfg 16. Install all the required user packages ``` -pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprshot gammastep swaync \ - noto-fonts noto-fonts-emoji noto-fonts-cjk ttf-jetbrains-mono-nerd ttf-font-awesome \ - awesome-terminal-fonts bat libnotify ntfs-3g \ - jq mpv ncdu transmission-cli yt-dlp cowsay \ - pacman-contrib pavucontrol rsync ripgrep python-pywal \ - imlib2 zip unzip wget pcmanfm gvfs xarchiver lf chafa stow fuzzel\ - fzf man-db pipewire pipewire-pulse pamixer kanshi \ - imagemagick networkmanager git dash papirus-icon-theme \ - neovim lua xdg-user-dirs mpd ncmpcpp eza \ - zsh zsh-autosuggestions zathura zathura-pdf-mupdf - +pacman -S --noconfirm networkmanager git ``` 17. Enable networkmanager ``` -# network manager systemctl enable NetworkManager.service ``` -18. set shell -``` -rm /bin/sh -ln -s dash /bin/sh -``` - -19. Set user permissions +18. Set user permissions ``` echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers ``` -20. Create user +19. Create user ``` useradd -m -G wheel -s /bin/zsh $username passwd $username ``` -21. Setup dotfiles -``` -cd $HOME -git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/ -cd ~/.dotfiles; stow . -``` - -22. nsxiv: image viewer -``` -git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv -sudo make -C ~/.local/src/nsxiv install -``` - -23. nvim: Text editor -``` -git clone --depth=1 git@github.com:krolyxon/nvim.git ~/.config/nvim -``` - -24. paru: AUR helper -``` -git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -sri && cd .. && rm -rf paru-bin -paru -S --noconfirm htop-vim zsh-fast-syntax-highlighting-git keyd-git zen-browser-bin -``` - -25. set zsh as default shell -``` -chsh -s $(which zsh) -``` diff --git a/arch_install.sh b/arch_install.sh index a67712b..2f4c452 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -57,52 +57,12 @@ sed -i 's/quiet/pci=noaer/g' /etc/default/grub sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub grub-mkconfig -o /boot/grub/grub.cfg -pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprshot gammastep swaync \ - noto-fonts noto-fonts-emoji noto-fonts-cjk ttf-jetbrains-mono-nerd ttf-font-awesome \ - awesome-terminal-fonts bat libnotify ntfs-3g \ - jq mpv ncdu transmission-cli yt-dlp cowsay \ - pacman-contrib pavucontrol rsync ripgrep python-pywal \ - imlib2 zip unzip wget pcmanfm gvfs xarchiver lf chafa stow fuzzel\ - fzf man-db pipewire pipewire-pulse pamixer kanshi \ - imagemagick networkmanager git dash papirus-icon-theme \ - neovim lua xdg-user-dirs mpd ncmpcpp eza \ - zsh zsh-autosuggestions zathura zathura-pdf-mupdf +pacman -S --noconfirm networkmanager git systemctl enable NetworkManager.service -rm /bin/sh -ln -s dash /bin/sh -# echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers echo "%wheel ALL=(ALL:ALL) ALL" >> /etc/sudoers printf "\e[0;34mEnter Username: \e[0m" read username useradd -m -G wheel -s /bin/zsh $username passwd $username -echo "Pre-Installation Finish Reboot now" -ai3_path=/home/$username/arch_install3.sh -sed '1,/^#part3/d' arch_install2.sh > $ai3_path -chown $username:$username $ai3_path -chmod +x $ai3_path -su -c $ai3_path -s /bin/sh $username -exit - -#part3 -printf '\033c' -cd $HOME -git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/ -cd ~/.dotfiles; stow . - - -## nsxiv: image viewer -git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv -sudo make -C ~/.local/src/nsxiv install - -## nvim: Text editor -git clone --depth=1 git@github.com:krolyxon/nvim.git ~/.config/nvim - -# paru: AUR helper -git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -sri && cd .. && rm -rf paru-bin -paru -S --noconfirm htop-vim \ - zsh-fast-syntax-highlighting keyd-git zen-browser-bin - -chsh -s $(which zsh) -exit +echo "Installation Finish Reboot now"