Skip to content

edbar42/dotfiles

Repository files navigation

My Dotfiles

This repo contains my setup for Arch-based distributions with Hyprland window manager and managed using chezmoi.

If you are only interested in my setup for specific software (say nvim or wezterm) you can fetch it directly from the repository.

Warning

These are meant to work on my machines. Use it at your own risk.

How to Use

Prerequisites

First, install chezmoi. See the chezmoi installation guide for instructions specific to your system.

On Arch-based distributions, you can install it via:

pacman -S chezmoi

First Usage

Initialize chezmoi with this dotfiles repository:

chezmoi init git@github.com:edbar42/dotfiles.git

Review the changes that will be made:

chezmoi diff

Apply the dotfiles:

chezmoi apply

Or, you can do both initialization and application in one command:

chezmoi init --apply git@github.com:edbar42/dotfiles.git

Syncing Changes

To update your dotfiles from the repository and apply any changes:

chezmoi update

Or, if you want to review changes before applying:

chezmoi git pull
chezmoi diff
chezmoi apply

References