Skip to content

Andr3as07/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Andr3as07's dotfiles

Your dotfiles are how you personalize your system. These are mine. These dotfiles are currently tested on Ubuntu 19.10 and Ubuntu 20.04.

What's inside

  • 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.

Requirements

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

Installation

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.

Using-Git Bare Repository

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

Git-Free Install

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.

Manual install

  1. As always: Make a backup of your all your important data and configurations.
  2. Download or clone this repository.
  3. Copy the configuration files and scripts you want into the corresponding directories in your home folder.
  4. Profit...

To update later on, repeat the process... Obviously.

Feedback & Bug reports

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!

Tanks to...

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published