Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

johnjago/dotfiles

Repository files navigation

dotfiles

MacBook Air (2020): macOS, zsh, nvim, Amethyst, iTerm2

In late 2022, I switched to macOS only, after nearly a decade of Linux.

The files relevant to my setup today:

The Linux config remains, but for those files now used in macOS, I have adjusted them to use BSD utilities instead of the GNU ones found in most Linux distributions.

A tool should be ambient. It disappears and flows through your actions. You should never need it because it's always at your hands. You should never ignore it because it's never in your way.

--Hunor Karaman

Resources

Previous setups

ThinkPad 13 (2017): Arch Linux, zsh, nvim, dwm, st, dmenu, slock, sct

dwm

For my Linux machine, I use a tiling window manager called dwm. It's mostly stock except for the following patches:

  • fullgaps
    • I added a shortcut to reset the gaps
  • solarized
    • This is my own patch that changes a few colors, including dmenu colors, to match Solarized Light
  • Font is set to Source Code Pro (though I could probably do this with fontconfig)
  • The tag numbers are in CJK characters
  • Firefox doesn't stick to the 9th tag
  • The default window split is 50/50 instead of 55/45
  • Monocle layout is second instead of third
  • Keyboard shortcuts for changing brightness ("Windows" key + up/down) and audio (alt + up/down) without having to reach for the multimedia keys
  • Keyboard shortcut for locking the screen with slock ("Windows" key + l)

If you're new to dwm, Dave's Visual Guide to dwm is a great reference.

Screenshots

I'm a big fan of the Solarized color scheme.

Linux

The typeface in the terminal, status bar, and code editor is Source Code Pro.

Mac (old setup)