Skip to content

jackm245/Dotfiles-Arch

Repository files navigation

Dotfiles

Jack Morgan's Dotfiles

Table of Contents

Config

Image 1

Image 2

Image 3

Description

  • Focus on shortcuts
  • High usability and performance
  • Optimized for a 60% keyboard on a laptop
  • Low resources used
  • Fonts: JetBrains and Fontawesome.
  • Colors and palette: Nord Theme
  • Designed for Arch Linux

Programs

How these dotfiles are maintained

To maintain these dotfiles I created a bare git repository following Atlassian's Tutorial

  1. Create a .config file - which is a bare Git repository - that will track the dotfiles.
git init --bare $HOME/.cfg
  1. Create a config alias that is used to specifically interact with the dotfiles repository.
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
  1. Set a flag to hide the files we are not explicitly tracking
config config --local status.showUntrackedFiles no
  1. Add the alias definition to your .bashrc or use this line provided for convenience.
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc

These dotfiles can then my updated using git, but by using the config command

config status
config add .vimrc
config commit -m "Add vimrc"
config add .bashrc
config commit -m "Add bashrc"
config push

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.