Skip to content

harshpate1/mydots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arch Linux

Hyprland

License

Stars

Installation

Clone

https://github.com/harshpate1/mydots.git ~/dotfiles
cd ~/dotfiles

Stow Packages

stow hypr
stow waybar
stow kitty
stow fish
...

Or install everything:

stow */

Creating a New Stow Package

The repository mirrors your $HOME.

Example for Hyprland:

Current config:

~/.config/hypr/

Move it into the repository:

mkdir -p ~/dotfiles/hypr/.config
mv ~/.config/hypr ~/dotfiles/hypr/.config/

Then create the symlinks:

cd ~/dotfiles
stow hypr

Result:

~/dotfiles
└── hypr
    └── .config
        └── hypr

~/.config/hypr
    ↳ ~/dotfiles/hypr/.config/hypr

To update configs later, simply edit the files inside ~/dotfiles.


Repository Structure

dotfiles/
├── hypr/
├── kitty/
├── fish/
├── cava/
├── waybar/
├── rofi/
├── fastfetch/
└── ...

Each folder is an independent GNU Stow package.


Updating

Pull the latest changes:

git pull

Restow if necessary:

stow --restow hypr

Or everything:

stow --restow */

Removing

stow -D hypr

Dependencies

  • Hyprland
  • Waybar
  • Kitty
  • Fish
  • Rofi
  • Cava
  • Fastfetch
  • GNU Stow
  • Git

Resources

These videos helped me understand GNU Stow:

GNU Stow Guide

Managing Dotfiles with Stow


License

MIT