You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marc
89caa92015
|
3 years ago | |
---|---|---|
.config | 3 years ago | |
.local/share/fonts | 4 years ago | |
.gitmodules | 4 years ago | |
.pam_environment | 3 years ago | |
.xinitrc | 3 years ago | |
README.md | 3 years ago |
README.md
Source: [https://www.atlassian.com/git/tutorials/dotfiles]
Required tools
xclip gtk3-nocsd (to disable client side decorations / window bars)
Prequisites
edit /etc/pam.d/login WILL BE DEPRECATED SOME TIME!
session required pam_env.so user_readenv=1
Fonts
- fonts-hack
- fonts-powerline
- IcoMoon Ultimate
Installation of manual fonts:
cp [FONT] ~/.local/share/fonts/
fc-cache -f -v
fc-list | grep "[FONT]"
bspwm
sxhkd
zsh
to permamently switch shell to zsh:
chsh -s $(which zsh)
Initialization
git init --bare $HOME/dotfiles
alias dot='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' (add this to .zshenv or .bashrc)
source .zshenv
dot config --local status.showUntrackedFiles no
dot remote add origin https://gitea.cloudpshere.duckdns.org/marc/dotfiles.git
dot remote -v
Usage
Add or edit files in repository
dot add /path/to/file
dot commit -m "some message"
dot push
add 3rd party repositories or update them
#move to where you want to place the module
# e.g. .config/zsh/plugins
dot submodule add -b master https://github.com/PATH/TO.git
#update submodules
dot submodule update --remote
move to a new computer
cd
alias dot="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" (add to .bashrc)
source .bashrc
echo "dotfiles" >> .gitignore
git clone --bare https://gitea.cloudsphere.duckdns.org/marc/dotfiles.git $HOME/dotfiles
dot checkout
cd dotfiles
dot config --local status.showUntrackedFiles no
pull repository
dot clone https://gitea.cloudsphere.duckdns.org/marc/dotfiles.git
dot pull origin master