How f1rul4yx/install_arch_linux_and_customize works
Project’s Nature and Purpose
• Project Type: It functions as a step-by-step installation and configuration guide (an “arch installation script/manual”).
Document’s Structure
• The README is organized into major sections:
• Installing Arch Linux – covers everything from keyboard layout, disk partitioning, formatting, mounting, base system installation, chrooting, essential package installation, locale/hostname configuration, and bootloader setup.
• Installing the Graphical Environment – includes setting up user-level configuration for bspwm, sxhkd, kitty, zsh (with oh-my-zsh and powerlevel10k) plus polybar customizations and associated support scripts (scripts for network, battery, etc.).
• Additional Software and Features – provides a list of recommended extra packages and noteworthy commands.
• Although there is only one file provided (the README), its organization gives clear “phases” in the system installation/configuration process.
Main Components
a. Core System Installation Phase:
• Hardware/Boot Preparations: Loading the Spanish keyboard layout, connecting to Wi-Fi.
• Disk Partitioning and Formatting: Highlight partitions for root (/), home, boot, and swap.
• Mounting Partitions and Installing the Base System (pacstrap of base packages, kernel, firmware).
• Generating fstab and chrooting.
• Configuring system essentials: time, locale, hostname, initramfs generation.
• Bootloader Installation (GRUB with EFI configuration).
b. Graphical Environment Setup Phase:
• User Environment Creation: Creating a new user, configuring Sudoers.
• Essential Packages Installation: Installing git, p7zip, zsh, kitty, bspwm, sxhkd, polybar, picom, dmenu, and others.
• Service Setup: Enabling LightDM, NetworkManager, and configuring them.
• Desktop Environment Customization: Configurations for bspwm, sxhkd, and kitty.
• Terminal and Shell Custom Setup: ZSH installation (oh-my-zsh and powerlevel10k with zsh-syntax-highlighting enhancements).
c. Custom Scripts and Polybar Configurations:
• Directory and Script Setup: Various scripts for target IP, network interfaces (wlan, ethernet, HTB), and battery status.
d. Additional Software and Final System Touches:
• Listing of extra software (e.g., browsers, editors, multimedia, backup utilities).
• Extra instructions like enabling time synchronization.
Determining Relationships and Interactions
• Think of the installation as a sequential flow: Starting from pre-installation checks (keyboard, Wi-Fi) then moving through disk and base system configuration, to bootloader setup and finally customization of the desktop environment.
• Each phase relies on the previous one being successfully executed. For example, the graphical environment phase is dependent on proper base system installation and user creation.
Highlighting Architectural Patterns or Design Principles
• Modularity: Although it is a linear installation guide, the segmentation into phases (base install vs. graphical environment vs. additional software) shows a modular approach.
• Customization/Extensibility: The guide shows multiple “custom scripts” each handling a specialized task (network, battery, target IP handling). Illustrate them as independent nodes that feed into the overall desktop status display (Polybar).
• Service Enabling: Emphasize systemd services (LightDM, NetworkManager) as components that automatically manage important background tasks.