Skip to content
/ dotfiles Public

dotfiles for vim, neomutt and others on Arch Linux & Mac OS

Notifications You must be signed in to change notification settings

kmARC/dotfiles

Repository files navigation

kmARC's dotfiles

Daylight Wallpaper: https://old.reddit.com/r/WQHD_Wallpaper/comments/9646jx/lake_zurich_forest_sky_mountains/ Night wallpaper: https://wallhere.com/de/wallpaper/1195576

Installation on Arch Linux

AUR packages (yay)

I'm using yay to acquire packages from AUR.

# Install preqrequisited
sudo pacman -Syu
sudo pacman -S base-devel git

# Don't forget to tune /etc/makepkg.conf (MAKEFLAGS="-j3" / "-j5")
sudo vi /etc/makepkg.conf

# Acquire yay PKGBUILD
mkdir -p /tmp/yay
git clone https://aur.archlinux.org/yay.git /tmp/yay
cd /tmp/yay

# Install yay
makepkg -si

Dotfiles

Note: You might want to create your own fork from this repo and clone the fork.

# Install prerequisites
sudo pacman -S python tmux

# Clone dotfiles repository
git clone --recursive --depth=1 https://github.com/kmARC/dotfiles ~/.dotfiles

# Install symlinks
~/.dotfiles/install

Re-login / restart bash.

Shell & color theme

This setup is based on the solarized theme. Follow the instructions there to customize / set it up properly.

Bash customizations

There are some customizations in my bashrc. Install and enable them as you like.

# Install prerequisites (select what you need. Order is the same as in .bashrc.kmarc)
yay -S fzf \
       nvm \
       tmux \
       direnv \
       todotxt xdg-user-dirs \
       ripgrep \
       liquidprompt

# Enable bashrc customizations
echo "source $HOME/.bashrc.kmarc" >> "$HOME/.bashrc"

Misc dependencies

Have a look at install.conf.yaml to get a hint on what software is configured with these dotfiles. Here is a categorization of what you might want to use from my repo.

Productivity: Mail + Calendar + Contacts

I have a 95% terminal-based workflow for Mail (neomutt), Calendar (khal), and Contacts (khard). All configured to work together with GMail/Google Suite, and Office 365. Calendars are syncronized from all these sources and from facebook. All from terminal!

# Mail
sudo pacman -S neomutt offlineimap libsecret
yay -S urlscan mutt-ics
sudo pacman -S notmuch  # Fast email indexing support
sudo pacman -S pandoc   # HTML email editing support
yay -S davmail          # o365 synchronization support

# Calendar + Contacts
sudo pacman -S khal khard vdirsyncer python-requests-oauthlib

Neomutt configuration resides in muttrc and mutt/muttrc._gmail_ and mutt/muttrc._owa_. However, it sources ~/.pdotfiles/muttrc, where p stands for private, thus not included in this repository. You can find examples on how to configure tools in the pdotfiles directory. Note: .pdotfiles setup is not automated by this repository.

Graphical system

Yay, this setup is using wayland now! Thes instructions will be updated on-demand. Feel free to contact me.

sudo pacman -S \
  sway \
  waybar

Music player

An MPD compatible daemon, mopidy is responsible for my daily music intake. For configuration, see examples in pdotfiles/

# Install / upgrade mopidy
yay -S mopidy-{spotify,soundcloud,tunein,mpris,mpd}

Apps & Tools

Have a look at the sway configuration and customize the launchable apps / tools

sudo pacman -S \
  alacritty \
  firefox \
  mpc \
  ranger \
  thunar
yay -S \
  rofi-emoji

GUI themes

That's a mess with Xorg/Wayland/Gtk2/Gtk3/Qt4/Qt5

I keep it simple: using Arc GTK and icon themes, configured Qt/KDE applications to pick up gtk2 theme settings. lxappearance is a handy tool to set gtk2/3 themes.

sudo pacman -S arc-{gtk,icon}-theme elementary-icon-theme gtk-engine-murrine lxappearance \
          qt5-styleplugins