Dotfiles is a collection of configuration files aimed at setting up a personalized and efficient Linux environment. This repository includes configurations for various tools and applications, enhancing productivity and aesthetics.
- First Download ArchLinux ISO from official site : Download Link
- Second Download for Your Operating System Ventoy
- Extract the Ventoy Folder and Write it on your USB.
- Copy ArchLinux ISO into USB. if you Don't Know how to use ventoy read this article
- Restart Your Computer and Press the Boot Menu key according to your Computer.
- In Boot Menu Select Your USB
- It will open ventoy and show you all ISO file available in USB
- Select the ArchLinux ISO and Open in Normal Mode.
- For wired internet you don't need to do anyting
- For wireless Command Given Below
$ iwctl
[iwd]#
From the [iwd]# prompt you will need figure out your device name. Then, assuming you know the SSID (service set identifier) of your wireless network, go ahead and connect like so:
[iwd]# device list
# You should see something like this:
#
# Devices
# -------------------------------------------------------------
# Name Address Powered Adapter Mode
# -------------------------------------------------------------
# wlan0 ... on ... ...
[iwd]# station YOURDEVICE connect YOURSSID
For a secured wireless network, you will be prompted for the WiFi password. Once you enter the correct password, you’ll be off to the races!
-
for that first we will use the
cfdisk
to make partitions and thenmfks
for formatting that
$ lsblk
if will show your all partitions and there information
$ cfdisk
it show you all of your information about your drives
You have to make 3 partitions
- EFI boot Partition - Type Must be EFI System
- Swap Partition - Type Must be Swap Partition
- Root Partition - Type Must be Linux File System
after Make Partitions write and exit the cfdisk and Run these commands and just change paths
$ mkfs.ext4 /path/to/root/partition
$ mfks.vfat -F 32 /path/to/efi/partition
$ mkswap /path/to/swap/partition
we will use the pre-mounted disk configuration for that run
$ mkdir /mnt/archinstall
$ mount /path/to/root/partition /mnt/archinstall
$ mkdir /mnt/archinstall/boot
$ mount /path/to/efi/partition/ /mnt/archinstall/boot
$ swapon /path/to/swap/partition
now we are done with partitioning the partitions
$ pacman -Sy archinstall archlinux-keyring
$ archinstall
After running the archinstall
command it will show you something like this.
- Locales : In locales select your keyboard layout, locale language, and endcoding
- Mirrors : In Mirrors select best mirror region according to your location
- Disk Configuration : ->Partitioning->Pre-mounted Configuration-> Enter
/mnt/archinstall
- Swap : Enable it if you made the swap partition
- Boot Loader : Select which boot loader do you need like
grub
,system-d-boot
- Unified kernel images : Enable if you want
- Hostname : Select your hostname what you want
- Root Password : Enter Your Root Password
- User account : make a account for normal user
- Profile : Select->Type->Minimal
- Audio : Select->Pipewire
- Kernels : Select one or many according your need. if don't know don't touch it
- Network configuration : Select->Use NetworkManager
- Additional packages : git vim
- Optional repositories : Enable additional repos if you want like
multilib
- Timezone : Select timezone according to your location
- Automatic time sync (NTP) : Leave Enabled
after that just press the install
and wait for installation to be finished
Congratulations🎉!! You have successfully installed the ArchLinux and now you can say that I use Arch btw
reboot your system and login with username and password and connect with internet and clone the repo and preform these operations.
git clone --depth=1 https://github.com/JaKooLit/Arch-Hyprland.git ~/Arch-Hyprland
cd ~/Arch-Hyprland
chmod +x install.sh
./install.sh
select the option according the option given in image I have explained each one of them and those without comment means go with that are in image.
After selecting all the options, I will start installing Hyprland and additional components. During the installation, you may be prompted to enter the password 2-3 times, so stay attentive. Once the installation is successful, it will show a prompt to press 'Y' to reboot the system.
You have successfully installed Archlinux+Hyprland.
To set up your environment using these dotfiles, follow these steps:
- Clone the Repository:
git clone https://github.com/ahmad9059/dotfiles.git
cd dotfiles
- Backup Existing Dotfiles: Before copying new configurations, it's wise to back up your current dotfiles:
mkdir -p ~/dotfiles_backup
cp ~/.config ~/dotfiles_backup -r
cp ~/.tmux.conf ~/dotfiles_backup
cp ~/.zshrc ~/dotfiles_backup
- Copy New Configurations:
Remember you must in
dotfiles
folder to run following commands
cp -r .config ~/
cp .zshrc ~/
cp -r .themes ~/.themes
cd .icons
cp .icons.zip ~/
cd ~/
unzip .icons.zip
rm .icons.zip
After the installation, you can start using the configured applications. Open your GTK settings
and set the widget theme to Andromeda-dark
, the icon theme to Dracula
, and the mouse cursor to Future-black Cursors
.
Install of these Packages using pacman
sudo pacman -S foot alacritty lsd bat tmux neovim tldr obs-studio vlc yazi
Install of these Packages Using yay
. Remember they are according to my preference like I have install vscode, telegram etc.
yay -S thorium-browser-bin visual-studio-code-bin 64gram-desktop-bin apple-fonts fum
Congratulations! You have successfully completed the installation.