🖥️
dotfiles
A quick way to restore many of my settings on a new computer.
Language: Shell
Source code: GitHub
This repo is designed to be cloned as a bare repo in my home directory to quickly restore lots of my configuration files. I followed this tutorial to set it up.
Instructions
# Install git
sudo apt install git
# Create an alias
alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
# Clone the repo
git clone --bare git@github.com:Hasnep/dotfiles.git $HOME/.dotfiles
# Check out the repo
dotfiles checkout
# Don't show untracked files
dotfiles config --local status.showUntrackedFiles no
dconf
To restore from files to dconf:
dconf load /com/gexperts/Tilix/ < ~/dconf/tilix.conf
dconf load /com/solus-project/ < ~/dconf/budgie.conf
dconf load /org/gnome/settings-daemon/plugins/media-keys/ < ~/dconf/keybindings.conf
To backup from dconf to files:
mkdir -p ~/dconf
dconf dump /com/gexperts/Tilix/ > ~/dconf/tilix.conf
dconf dump /com/solus-project/ > ~/dconf/budgie.conf
dconf dump /org/gnome/settings-daemon/plugins/media-keys/ > ~/dconf/keybindings.conf