- Note: Less is More
- Clone as non-bare repo and place in arbitrary location(tmp)
git clone \
--separate-git-dir=$HOME/dotfiles \
https://github.com/ysxninja/dotfiles.git \
dotfiles-tmp
- copy the snapshot from tmp dir to the correct locations
rsync --recursive --verbose --exclude '.git' dotfiles-tmp/ $HOME/
- remove the tmp dir
rm -rf dotfiles-tmp
- configure keyd
sudo ln -s $HOME/.config/keyd/default.conf /etc/keyd/default.conf
sudo usermod -aG keyd $USER
sudo usermod -aG input $USER
sudo usermod -aG docker $USER