Code Monkey home page Code Monkey logo

dotfiles's Introduction

danirod's dotfiles

About

These are my system dotfiles. These files manage settings for the software and operating systems I use. I move around macOS, Arch Linux and Debian and these are the supported operating systems for these dotfiles. Feel free to look and take what you want, but keep in mind that this is MY opinionated config.

If you still don't do, take some time to organize your dotfiles inside a Git repository. You'll gain some advantages: versioning your config so you can make changes knowing you can rollback if things go wrong; easy cloud sync through multiple computers via Git; backup for setting new systems after a format.

Repository structure

  • home directory: common configuration for shared applications: bash, tmux, neovim, neomutt, irssi...
  • mac directory: macOS specific dotfiles: system settings, reset script...
  • linux directory: Linux/X11 specific dotfiles: xinit, i3, compton, fonts...
  • linux-work directory: particular settings that are only useful for my work laptop (i.e. not my raspberry or other generical Linux systems).
  • systemwide: do not symlink this directory, as it contains files that belong to /etc, /usr or other directories outside $HOME.

Usage

Place a symlink on the appropiate location for each dotfile pointing to a file on this repo. For instance, ~/.bashrc should be a symlink pointing to ~/.dotfiles/home/.bashrc. That way, if ~/.bashrc gets modified, your ~/.dotfiles working directory gets modified and you can make a commit.

This repo is optimized for GNU Stow. You should install GNU Stow as it makes this symlink process automated. (There are many other reasons on why you should use GNU Stow). After installing Stow, cd to ~/.dotfiles and run stow home to make symlinks on your home directory for each file in home automatically. Run stow linux or stow mac to symlink additional dotfiles appropiately.

Installation scripts

This is a feature under development. To make it easier to bootstrap a new system after installing a fresh OS, some installation scripts are under development. They will install the software packages I use on each OS. At the moment there is a Brewfile for macOS. Something similar for pacman (Arch) or dpkg (Debian) is pending to be done.

  • macOS: install Homebrew, install Homebrew Cask, stow the mac directory to place the Brewfile in ~/.Brewfile. Then run brew bundle --global. This will add taps and formulaes declared in the Brewfile.

Changelog

The repository layout was changed on Jan 2018 and I removed support for software I didn't use anymore, such as zsh, openbox, powershell and windows/msys. If you're looking for that, checkout older commits. Additional branches and tags for historic reasons are pending to be made.

dotfiles's People

Contributors

danirod avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.