for my Linux-Systems
Prepare a user with a home-directory:
NONROOTUSER="jumper"
Clone this repository as $NONROOTUSER
:
alias dotgit='git --git-dir="${HOME}/.dotfiles/" --work-tree="${HOME}"'
git clone --bare https://github.com/jumper149/dotfiles.git "${HOME}/.dotfiles"
dotgit config --local status.showUntrackedFiles no
dotgit checkout
Set $NONROOTHOME
without '/'
at the end:
NONROOTHOME="/home/${NONROOTUSER}"
Install custom keymap.
mkdir -p "/usr/local/share/kbd/keymaps"
cp "${NONROOTHOME}/.github/misc/jumper.map.gz" "/usr/local/share/kbd/keymaps/"
localectl set-keymap --no-convert /usr/local/share/kbd/keymaps/jumper-us.map
sensors-detect
gpasswd --add "${NONROOTUSER}" {users,wheel,video,audio}
There are some examples in ~/.github/misc/
.
Check these out by yourself.
Set up repository for private files:
git clone --bare git@github.com:jumper149/dotsafe.git "${HOME}/.dotsafe"
safegit config --local status.showUntrackedFiles no
safegit checkout
Set up repository for passwords:
git clone git@github.com:jumper149/password-store.git "${HOME}/.password-store"
Import GPG keys:
gpg import example.key
gpg import example.secretkey
Copy SSH keys:
cp example.pub "${HOME}/.ssh"
cp example.secretkey "${HOME}/.ssh"
Places that use hardcoded color configuration:
~/.Xresources
~/.vim/colors/wombat256jumper.vim
~/.config/alacritty/alacritty.yml
~/.config/kitty/kitty.conf
~/.config/qutebrowser/config.py
~/.config/rofi/theme.rasi
~/.config/zathura/zathurarc
~/.config/i3blocks/scripts/battery.sh
~/.config/i3blocks/scripts/cpu.sh
~/.config/i3blocks/scripts/traffic.sh
~/.config/i3blocks/scripts/volume.sh
~/.config/sway/config
~/.xmonad/xmonad.hs
~/.xmobarrc
~/.xmobar/icons/
some more, but depending on ~/.Xresources
:
~/.config/i3/config
~/.mutt/colors
~./irssi/default.theme
~/.config/neofetch/config.conf
~/.config/ranger/rc.conf @ colorscheme
~/.bashrc @ prompt
~/.zshrc @ prompt