Home

Awesome

<p align="center"> <img width="25%" src=".assets/home.png"/> </p> <p align="center"> <b>There's no place like ~/</b> </p> <hr>

Nice to have you!

<img src=".assets/shots/buisy.png" alt="img" align="right" width="400px"> <img src=".assets/shots/clean.png" alt="img" align="right" width="400px">

These are the dotfiles for my current setup.

This configuration aims to be simple and portable. Yet there are some parts that won't work on MacOS.

The Installation section will guide you through the installation process.

For some visuals refer to the Gallery section.

Main software:

Usage

I use the configuration mostly on my Linux systems but partly on a mac for work. The install script is OS aware and will only create symlinks for macOS usable software if executed on macOS.

Furthermore the script will ask whether or not to install configuration files for Vim and Tmux from other repositories listed down below.

The install script won't install any packages, only config files.

The install script will clone the following repos:

The install script will ask to clone / setup the following repos:

Furthermore the SourceCodePro Nerd Font will be installed.

Requirements

Installation

Clone all repositories and components without asking. Be careful, you might loose your own config files.

curl \
    -fsSL \
    https://raw.githubusercontent.com/oliverwiegers/dotfiles/prod/install \
    -o install \
    && chmod +x install \
    && ./install

If there are current configuration files these will be moved to $HOME/current_config_backup-$(date +%Y%m%d%H%m)" so the install script should not delete or override any files.

Development and Testing

This script can be tested inside a docker container. The repository provides a Dockerfile to build an Ubuntu image including all needed packages to run my shell configuration. Some of the installed packages aren't needed to test the script itself but the functionality of the configuration afterwards.

The install script and the Dockerfile both know the GIT_BRANCH env variable to curl the install script from the right branch and checkout the right branch after cloning. The default is the prod branch.

Testing remote changes

git clone git@github.com:oliverwiegers/dotfiles.git
cd dotfiles
export branch="$(git rev-parse --abbrev-ref HEAD)"
docker build -t install_test:"${branch}" --build-arg GIT_BRANCH="${branch}" .
docker container run -it install_test:"${branch}"
./install
zsh

Testing local changes

git clone git@github.com:oliverwiegers/dotfiles.git
cd dotfiles
export branch="$(git rev-parse --abbrev-ref HEAD)"
docker build -t install_test:"${branch}" --build-arg GIT_BRANCH="${branch}" .
docker container run -v $PWD:/root/.dotfiles -it install_test:"${branch}"
cd .dotfiles
./install
zsh

Software

The install script installs configuration files for the following software.

Included in this repo

Cloned from other repos

For Vim and Tmux I use different repositories.

A big shoutout to dylanaraps for pywal. This is an awesome tool. It took me some time to reconfigure my system to use the full potential, but it is worth it a thousand times.

Firefox

Firefox is highly customized using userChrome.css and Vimium.

Show TabBar in fullscreen mode

userChrome.css

The userChrome.css uses the colors created by pywal. These are stored in ~/.cache/wal/colors.css by default. To enable this do the following:

Vimium-FF

To apply the Vimium config you need to apply the config in the plugin settings inside of Firefox. I didn't find a way to import the pywal colors so you need to generate the final config by hand.

Gallery

These are screenshots from my current Void Linux system.

Fake Buisy

img

Clean Desktop

img

Locked Screen

img

Firefox Clean

img

Firefox Tabbar

img

Firefox Vimium-FF

img

Tmux

img

ToDo

1