Your dotfiles are how you personalize your system. These are mine. These dotfiles are currently tested on Ubuntu 19.10 and Ubuntu 20.04.
- Useful scripts are in
~/.local/bin/
- Settings for:
- bash & zsh (shell)
- i3-gaps (window manager)
- i3blocks (statusbar)
- newsboat (RSS reader)
- emacs (text editor)
- Custom statusbar blocks
- Dynamic shell prompt
- username (Changes color depending on the ability to perform sudo or being root)
- hostname (On ssh only)
- rw (cwd is read only)
- number of background jobs
- status of current git repository
- currently installed python, php, java
- execution duration of the last shell command (if greater than a specified time)
- exit code of the last command (zsh only)
- I try to minimize what's directly in
~
so:- All configs that can be in
~/.config
are.
- All configs that can be in
These packages are required to run these dotfiles, make shure they are present before installing the dotfiles. Requirements in braces are optional dependencies which allow for extended functionality.
- Base: i3-gaps, dmenu, htop
- Prompt: Nerd Fonts compatible font, (python3, git, php, java)
- Scripts: feh, dmenu, xautolock, xbacklight, xdpyinfo, imagemagick, pass
- Statusbar: i3blocks, apt, libnotify, upower, curl, newsboat, tsp, alsamixer
Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk! Make a backup of your all your important data.
Run this:
wget raw.githubusercontent.com/andr3as07/dotfiles/master/.local/bin/install/install-dotfiles.sh
chmod +x install-dotfiles.sh
./install-dotfiles.sh
This will create two new directories in your home directory.
.dotfiles
which contains the git bare repository..dotfiles-backup
which contains all files that would have been overwritten in the installation process.
To update later on, just run:
config pull
To install these dotfiles without Git:
cd; curl -#L https://github.com/Andr3as07/dotfiles/tarball/master | tar -xzv --strip-components=1
Warning: This method does not create any backups of your old data, it just overrides everything. Only use this method if you are absolutely sure you know what you are doing.
To update later on, just run that command again.
- As always: Make a backup of your all your important data and configurations.
- Download or clone this repository.
- Copy the configuration files and scripts you want into the corresponding directories in your home folder.
- Profit...
To update later on, repeat the process... Obviously.
Suggestions/improvements welcome!
In an ideal world these dotfiles should work for everyone. that means when you clone it should work even though you may not have one or multiple packages installed. That said, I do use this as my dotfiles, so there's a good chance I may break something if I forget to make a check for a dependency.
If you're brand-new to the project and run into any blockers, please open an issue on this repository and I'd love to get it fixed for you!
- DistroTube for his video Git Bare Repository - A Better Way To Manage Dotfiles
- Luke Smith for providing a lot of inspiration and the basic idea behind a lot of this configuration.