Go to file
Pierre Neidhardt 5ed2d56b7d tor: Use India, Ukraine, South Korea exit nodes 2018-07-20 17:42:48 +02:00
.asy Replace TikZ samples for Asymptote samples 2015-01-08 12:07:57 +01:00
.config qutebrowser: Delete 2018-07-14 15:35:40 +02:00
.emacs.d main.el: Require browse-url 2018-07-20 14:46:52 +02:00
.gnupg gpg: Use long keyid format 2018-07-20 14:47:22 +02:00
.guix-config guix-config: Add CUPS, remove deprecated file-system 'title 2018-07-20 14:48:22 +02:00
.guix-packages guix-packages/wigust/packages/golang: Add restic 2018-07-12 12:24:21 +02:00
.local local/bin/package-lister: Use same formatting as homesync 2018-07-20 14:49:17 +02:00
.mpv mpv: Set "i" to default metadata display 2018-04-17 11:56:27 +05:30
.package-lists package-lists/guix: Add docx2txt, emacs-hl-todo 2018-07-20 14:54:21 +02:00
.xkb Map Ctrl+Escape to Caps Lock 2017-05-27 16:41:36 +02:00
.Xresources Urxvt: Remove config 2017-07-28 12:06:09 +01:00
.conkyrc conky: Document conky race condition with pulseaudio's pactl 2018-05-21 12:53:42 +02:00
.gitconfig Org: Encrypt todo and contacts 2018-07-12 12:01:50 +02:00
.gitignore Emacs: Move user-emacs-directory to cache 2018-02-16 23:19:10 +01:00
.mailcap mime: Init mimeapps.list 2018-01-11 09:43:08 +01:00
.profile guix: Don't export PATH nor INFOPATH 2018-07-03 18:05:53 +02:00
.toprc top: Init 2018-01-16 10:52:46 +01:00
.torrc tor: Use India, Ukraine, South Korea exit nodes 2018-07-20 17:42:48 +02:00
.uncrustify.cfg Uncrustify: Remove blank lines before/after '}'/'{' respectively 2016-06-11 16:40:21 +02:00
.units units: Use currency.units from the user profile 2018-03-31 10:08:31 +05:30
.xbindkeysrc xbindkeysrc: Use pulseaudio 2018-07-07 09:38:56 +02:00
.xinitrc ssh: Move to GPG 2018-02-07 12:08:02 +01:00
.xprofile xprofile: Deprecate conkeror 2018-06-26 09:32:17 +02:00
.xsession xsession: Use 'exec' 2018-03-29 12:24:04 +05:30
README.md README: Replace script list with home* script description 2018-05-24 15:34:29 +02:00

README.md

.dotfiles

Overview

I use of Emacs for almost everything, including my window manager (EXWM). See my Emacs pro-tips.

As such, the more-or-less advanced configurations of my former favourite Unix programs are gone (Awesome, cmus, fish, fzf, Mutt, newsbeuter, ranger, urxvt, zathura, zsh). You can search for them before the git commit README: The Big Emacs Shift.

Setup

For the list of programs I currently use, see the .pkglists/ folder.

The homeinit script fully bootstraps a user profile with required files, folders, symlinks applications.

The homeclean script removes trash files, caches and warns if critically private data is found (e.g. PGP keys).

The homesync script updates the package lists, prints the status of all known projects and optionally pushes the unmerged changes upstream.

As for managing a dotfiles repository, there are various approaches.

Direct versioning

Git makes it possible to use your home folder as a git repo, thus versioning all files directly.

cd
git init
git remote add origin <repo>
git fetch
git checkout master

GNU Stow

GNU Stow lets you symlink a project's files to an arbitrary folder.

The simplest setup would be to clone the dotfiles to, say, ~/dotfiles then run

cd ~/dotfiles
stow .

This has several advantages over direct versioning:

  • Subfolders in home are not subject to being included into the dotfiles git repository. This is especially relevant for projects under a version control system other than git.

  • No need for a .gitignore.

  • Simplified file control (add/remove/etc.).

  • You can fine-tune which program configuration to synchronize on a per-system basis.

  • You can manage several configurations for the same programs.