Skip to content

Latest commit

 

History

History
136 lines (91 loc) · 2.76 KB

INSTALLATION.md

File metadata and controls

136 lines (91 loc) · 2.76 KB

📦 Installation

Automated Installation

For a quick and easy setup, you can use the provided installation script:

  1. Clone the repository:
git clone https://github.com/h3nr1d3v/hypr-dot.git
cd hypr-dot
  1. Run the installation script:
./install.sh

This script will automatically install all necessary packages, copy configuration files, and set up your Hyprland environment.

Manual Installation

If you prefer to install manually or want to understand the process better, follow these steps:

Prerequisites

Pacman Packages

Install the following packages using pacman:

sudo pacman -S alacritty bpytop hyprland brightnessctl kitty libpng libjpeg-turbo imagemagick gawk grep dunst ripgrep vim neofetch neovim ffmpeg v4l-utils python python-pip

AUR Packages

Install the following packages using your AUR helper (yay):

yay -S cmus cmatrix-git dunst ranger mpv swww swaync sway-lock sway-bg waybar flameshot-git pactl pamixer pipes.sh tty-clock

Installation Steps

  1. Clone the repository:
git clone https://github.com/h3nr1d3v/hypr-dot.git
cd hypr-dot
  1. Create necessary directories (if they don't exist):
mkdir -p ~/.config ~/.local ~/Documents/Home ~/Pictures/Wallpapers ~/.local/share/icons
  1. Copy configuration files:
# Copy .config files
cp -r .config/* ~/.config/

# Copy .local files
cp -r .local/* ~/.local/

# Copy mozilla/chrome files
cp -r .mozilla/chrome/* "$(find ~/.mozilla/firefox -type d -name '*default-release*' -print -quit)/"


# Copy Documents
cp -r Documents/Home/* ~/Documents/Home/

# Copy Wallpapers
cp -r Pictures/Wallpapers/* ~/Pictures/Wallpapers/

# Copy icons
cp -r usr/share/icons/* ~/.local/share/icons/

Post-Installation Setup

  1. Set executable permissions for scripts:
chmod +x ~/.config/hypr/scripts/*
chmod +x ~/.config/waybar/scripts/*
chmod +x ~/.local/bin/*
  1. Update font cache:
fc-cache -fv
  1. Install required Python packages:
pip install --break-system-packages --user colorama vlc yt_dlp tqdm youtubesearchpython
  1. Reload Hyprland configuration:
hyprctl reload

Verification

To verify your installation:

  1. Log out of your current session
  2. Select Hyprland as your window manager at the login screen
  3. Log in
  4. Open a terminal and run:
neofetch
hyprctl version

Directory Structure

Your configuration should now have the following structure:

└── $HOME
    ├── .config/          # Configuration files
    ├── .local/           # Local files and scripts
    ├── .mozilla/chrome   # Firefox/Chrome themes
    ├── Documents/Home    # Document templates
    ├── Pictures/Wallpapers
    └── .local/share/icons