Skip to content

Dalamar42/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Summary

Your dotfiles are how you personalize your system. These are mine, forked from Tom McAdam's, who forked them from Zach Holman's.

If you're interested in the philosophy behind why projects like these are awesome, you might want to read his post on the subject.

These dotfiles for use with the Fish shell.

Install

This is the process to follow when setting up a brand new system.

Prerequisites

  • Install stow
  • Install nix
  • Install git

Dotfiles

git clone https://github.com/Dalamar42/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
script/bootstrap

This will symlink the appropriate files in .dotfiles to your home directory. Everything is configured and tweaked within ~/.dotfiles.

The main file you'll want to change right off the bat is fish/config.fish, which sets up a few paths that'll be different on your particular machine and stow/i3/.config/i3/config, stow/i3/.config/i3/screenlayout.shwhich have sections that depend on your monitor arrangement.

Nix

Install software with

nix/bin/nox -i

This will also install fish.

Switching to fish

Set fish as the default shell by following the instructions in fish-default. If you installed fish via nix in the previous step fish will not be in /usr/local/bin/fish. Use which fish to find the correct path.

Install tiled window manager

Install i3 (Linux)

  • Install i3
  • Install rofi application launcher
  • Install i3blocks status bar

Install Yabai (Mac)

Components

There's a few special files in the hierarchy.

  • bin/: Anything in bin/ will get added to your $PATH
  • nix/: This contains the nix configuration.
  • nix/bin: Anything in the nix bin/ will get added to your $PATH
  • stow/: This contains the files that will be symlinked to $HOME
  • stow/fish/.config/fish/aliases.fish: The files here are expected to setup aliases
  • stow/fish/.config/fish/paths.fish: The files here are expected to add entries to $PATH
  • install/: Contains various topical installation scripts

Thanks & Licenses

Thanks to Tom McAdam, then transitively to Zach Holman and his thanks:

"I forked Ryan Bates' excellent dotfiles for a couple years before the weight of my changes and tweaks inspired me to finally roll my own. But Ryan's dotfiles were an easy way to get into bash customization, and then to jump ship to zsh a bit later. A decent amount of the code in these dotfiles stem or are inspired from Ryan's original project."

Credit for the newscript.template goes to Maciej Radzikowski for the minimal bash template reused in accordance to its MIT license.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 68.5%
  • Ruby 17.4%
  • Nix 8.7%
  • Vim Script 3.0%
  • AppleScript 2.4%