Prerequisites
Before installing, ensure you have the following:- Arch Linux (or Arch-based distribution)
- Git configured with SSH access
- Basic familiarity with terminal commands
- Backup of existing configuration files
Installation Process
Clone the Repository
Clone the dotfiles repository to your home directory:
The repository should be cloned to
~/dotfiles as the sync scripts expect this location.First-Time Setup
For a fresh installation, run the first-sync script to set up the This script will:
stot utility:- Create
~/.local/bin/directory - Symlink the
stotutility to~/.local/bin/stot - Clone the packages repository for system dependencies
first-sync.sh
Sync Configuration Files
Run the main sync script to create symlinks for all configuration files:The sync script will link:
This performs a hard sync of your local config files with
~/dotfiles. Existing files will be overwritten.- Home directory configs (
.zshrc,.zshenv,.Xresources, etc.) - All
.config/application configurations - Custom binaries from
bin/to~/.local/bin/ - System files to
/boot,/etc,/usr, and/srv(requires sudo)
Install System Packages
Install the required packages using the cloned packages repository:Key packages include:
- i3-gaps — Tiling window manager
- picom — Compositor
- polybar — Status bar
- rofi — Application launcher
- dunst — Notification daemon
- kitty — Terminal emulator
- zsh — Shell
- And many more…
Understanding the Stot Utility
Thestot command is a custom wrapper around GNU Stow that simplifies dotfile management:
How Stot Works
Synced Configurations
Home Directory Files
Application Configs
System Files
Post-Installation
Log Out and Log Back In
For i3 and other configurations to take effect, log out and select i3 as your window manager at the login screen.
Troubleshooting
Stot command not found
Stot command not found
Ensure
~/.local/bin is in your PATH:Permission denied errors
Permission denied errors
System file operations require sudo. The
stot -c commands in sync.sh will automatically use sudo.Symlink conflicts
Symlink conflicts
If you have existing files,
stot will remove them before creating symlinks. Back up important files first.i3 doesn't start
i3 doesn't start
Ensure i3-gaps is installed and you’ve selected i3 at your display manager login screen.
Next Steps
Quick Start Guide
Learn how to use the configured system and custom commands