Skip to content

weygoldt/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to my linux dotfiles

This repository includes my personal configuration files for my Arch linux workstation. It is designed to be minimal, bleeding edge, but still beautiful. Almost everything is configurable by text files. Most files can be used on other GNU/Linux distributions as well but some scripts only work on Arch-based systems.

Screenshots

Screenshots

The why

I use Arch Linux because of multiple reasons:

  1. It is easy and fast to install using the built in archinstall script.
  2. It provides and extremely lightweight base to build my workspace on top of it.
  3. I am forced to use (and hence learn) up to date software.

I switched to Wayland because it will slowly replace Xorg. I use a window manager because my daily work resolves around editing text files in the terminal. Beeing forced to navigate exclusively by the keyboard makes navigation faster and saves my wrists. I chose Hyperland because it was easy to install, configure and looks extremely nice.

The how

To install the base system, I simpy use the archinstall script with the hyprland and plasma (for fallback) profiles. To install the graphical frontend, I just follow the awesome tutorial on the hyprland wiki. Now to initialize my dotfiles on a new system, I clone this repository like this:

rm -rf $HOME/.dotfiles
git clone --bare https://github.com/weygoldt/dotfiles.git $HOME/.dotfiles

Then add an alias to your .zshrc (or .bashrc) to work with the bare git repository. After that you can force a checkout to overwrite any old files.

cd $HOME
echo 'alias dfs="/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"' >> $HOME/.zshrc
source $HOME/.zshrc
dfs config --local status.showUntrackedFiles no
echo ".dotfiles" >> $HOME/.gitignore
dfs checkout -f

Do not forget to make a history file for zsh wherever the path to the file is specified in the current version of the .zshrc:

touch $HOME/.config/zsh/zsh_history

Included

Most of my dotfiles are simple configuration files of shells, terminals, etc. But there are also some scripts that I use to automate some tasks as well as document the packages I need on a system to make the migration to new systems faster. In addition, I document how I install, maintain and backup my workstation.