815be4749096744c0271fae4b0a0a48732a19be5
- Remove Alacritty config - Replace Alacritty with kitty in dwm rules & terminal command - Add dracula theme for kitty in dracula.conf - Add modified example config for kitty in kitty.conf - Change terminal in rofi config from alacritty to kitty
dotfiles
Personal dotfiles repository
Install on a new system
See Acknowledgements for tutorial source.
- Prior to the installation, create alias for config
alias config="GIT_WORK_TREE=~ GIT_DIR=~/.cfg"
- Add
.cfg
to.gitignore
echo ".cfg" >> .gitignore
- Clone dotfiles into a bare repository
git clone --bare <git-repo-url> $HOME/.cfg
- Define the alias in the current shell scope
alias config="GIT_WORK_TREE=~ GIT_DIR=~/.cfg"
- Checkout content from bare repository to
$HOME
config git checkout
- Step above might fail with a message like:
-
error: The following untracked working tree files would be overwritten by checkout: .bashrc .gitignore Please move or remove them before you can switch branches. Aborting
-
- Delete
.bashrc
and.gitignore
rm ~/.bashrc ~/.gitignore
- Re-run checkout
config git checkout
- Set the flag
showUntrackedFiles
tono
on this specific (local) repoconfig git config --local status.showUntrackedFiles no
Acknowledgements
I followed DistroTube's process for setting up a git bare repository as shown in Git Bare Repository - A Better Way To Manage Dotfiles. He references The best way to store your dotfiles: A bare Git repository by Nicola Paolucci.
Description
Languages
Vim Script
32.6%
Shell
31.5%
Lua
23.2%
CSS
10.1%
Just
2.6%