Skip to content

Configuration files for LEV Linux

Notifications You must be signed in to change notification settings

lev-linux/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

This repository contains my configuration files (dotfiles) for various programs, managed using GNU Stow.

Installation

Prerequisites

Make sure you have GNU Stow installed. On Void Linux, you can install it with:

sudo xbps-install -S stow

Cloning the Repository

Clone this repository into your home directory (or any location you prefer):

git clone https://github.com/lev-linux/dotfiles.git ~/.dotfiles
cd ~/.dotfiles

Stowing Configurations

To create symlinks for a specific program, use:

stow <package>

For example, to apply the configurations for dwm and zsh, run:

stow dwm
stow zsh

This will create symlinks in your home directory (~), pointing to the corresponding files in ~/.dotfiles/dwm/ and ~/.dotfiles/zsh/.

If you need to overwrite existing files, use:

stow -D <package>

before restowing to remove old symlinks.

Directory Structure

Each configuration is stored in a separate directory, mimicking the home directory structure. For example:

~/.dotfiles/
├── dwm/
│   ├── .config/dwm/config.h
│   ├── .config/dwm/autostart.sh
│   └── ...
├── zsh/
│   ├── .zshrc
│   ├── .zshenv
│   └── ...
└── ...

Updating Configurations

To update a configuration, modify the files inside ~/.dotfiles/<package>/, then commit and push the changes.

Unstowing Configurations

To remove symlinks for a specific package, use:

stow -D <package>

Customization

Feel free to modify these dotfiles to suit your workflow. If you use different paths or need additional setups, update this README accordingly!