Font in this preview is Comic Code Medium, if you have it, you can use the corresponding config from
dev
branch!
- You need to have a arch base-install (or, you can experiment on your existing system if you wanna get adventurous),
- If you're new/confused, you should refer arch wiki
- Steps you need to do before running my script: (layman's steps, need not be exact but expected working should be same)
- Boot into a bootable image for an arch ISO which can be download from here
- Perform disk partition using fdisk or cfdisk or whatever you're comfortable with
- Create a file system by formatting the disks you made above
- Connect to internet: wifi/ethernet/mobile tethering, anything that gets you started
- Choose best mirror for downloading packages (not always required)
- mount and pacstrap your arch install with following command
pacstrap /mnt base linux linux-firmware sudo networkmanager git
- arch-chroot to your installation and enable network manager service with following command
(CASE SENSITIVE COMMAND)
systemctl enable NetworkManager.service
- setup a root password using the command
passwd
(you won't be able login later unless you set this) - generate fstab entries, setup date-time, setup hosts and hostname
- Install a bootloader, for grub installation: refer this
- After you boot back to your install as root user, you need to execute these steps for a clean install:
assume USER for demonstration, replace it with whatever you want
- Adding a new user and giving it an access to run all sudo commands without password
Makes our clean install script process run without waiting for passwords from user
useradd -m USER echo "USER ALL=(ALL) NOPASSWD: ALL" | sudo EDITOR='tee -a' visudo
- set new password for newly create
USER
using the commandpasswd USER
- switch user from to
root
toUSER
usingsu - USER
- Clone and run the script using the command given below:
git clone https://github.com/maniac-en/dotfiles.git ~/.dotfiles \ && cd ~/.dotfiles && ./clean_install.sh
- Amongst the all scripts, I use API for two of them, and they can be put in user's home folder
/home/USER
with a file name.env.api
(Sample File)- Github API (scope: notification access) for getting unread notification counter in polybar (bar present at the top in the screenshots)
Github API docs: here
- Imgur API for uploading screenshots to imgur for easy sharing!
Imgur API docs: here