This repository contains my personal configuration files for Nyxt, Zsh, Emacs, and Hyprland.
To install these dotfiles on a new system, follow these steps:
Clone the bare repository to a "dot" folder in your home directory:
git clone --bare https://github.com/Occhima/dot.git $HOME/.dotfiles
Create an alias for interacting with the repository:
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
Add this alias to your .bashrc
or .zshrc
:
echo "alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.zshrc
Check out the actual content from the repository to your home directory:
config checkout
If you encounter errors about existing files, backup and remove them:
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{}
config checkout
Set the flag to hide untracked files:
config config --local status.showUntrackedFiles no
These dotfiles include configurations for:
- Nyxt:
~/.config/nyxt/init.lisp
- Zsh:
~/.zshrc
- Emacs:
~/.emacs.d/init.el
- Hyprland:
~/.config/hyprland/hyprland.conf
To add and commit changes to your dotfiles:
config status
config add .zshrc
config commit -m "Update zsh configuration"
config push
Feel free to customize these dotfiles to suit your preferences. Each configuration file is documented to help you understand the settings.
Contributions are welcome! Please open an issue or submit a pull request with any improvements or suggestions.