Giter Site home page Giter Site logo

dotfiles's Introduction

Dotfiles

This is a collection of all my configuration files, managed using GNU stow, and deployed using my install.sh script. It is intended to be run from a clean arch install.

Info

distro Arch Linux
shell zsh
terminal st
wm dwm
launcher dmenu
editor neovim
browser Brave
music ncmpcpp
image viewer sxiv
video player mpv
font DejaVu Sans Mono
colors gruvbox
  • Useful scripts stolen from all over the place are in ~/.local/bin/
  • I try to minimize what's directly in ~ so:
    • All configs that can be in ~/.config/ are.
    • Some environmental variables have been set in ~/.zprofile to move configs into ~/.config/
  • Bookmarks in text files used by various scripts (like ~/.local/bin/shortcuts)
    • File bookmarks in ~/.config/shell/bm-files
    • Directory bookmarks in ~/.config/shell/bm-dirs

Usage

These dotfiles are intended to go with numerous suckless programs I use:

I also use mutt-wizard, which gives you an easy-to-install terminal-based email client regardless of your email provider.

Install

git clone --recurse-submodules https://github.com/pahlse/dotfiles ~/.dotfiles

Then use the install.sh script to install the dependencies:

cd ~/.dotfiles/installer
./install.sh

Manage

I use GNU stow to manage my git repos and dotfiles. I got this idea from this post, and can only recommend it.

To use stow:

cd ~/.dotfiles
# the contents (dotfiles) of these directories are symlinked to ~/
stow xorg zsh

cd ~/.dotfiles/config
# create symlinks in the target directory ~/.config
stow -t ~/.config dunst nvim ranger

To remove:

cd ~/.dotfiles
stow -D zsh

cd ~/.dotfiles/config
stow -t ~/.config -D ranger

Note: you can use an alias like stowc='stow -t ~/.config' to manage ~/.dotfiles/config

Suckless Packages

The suckless software I use, is forked from Luke Smith and added as a submodules to this repository. The forked repositories come with some added patches which I personally like. Dependencies for building this software are make and a C compiler.

cd ~/.dotfiles/suckless/dwm
make

This will create a config.h which you can modify to your liking. Install with: sudo make clean install.

Or you can switch to a branch which already contains a config.h

Startup

If you use my xorg configuration there will be a .xinitrc which starts dwm when you run startx.

dotfiles's People

Contributors

pahlse avatar

Watchers

 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.