Go to file
Pierre Neidhardt a350466142 Emacs: Fix swap-windows functions 2018-06-01 10:52:03 +02:00
.asy Replace TikZ samples for Asymptote samples 2015-01-08 12:07:57 +01:00
.config config/cron: Update with mcron 1.1.1 fixes 2018-05-23 16:58:43 +02:00
.emacs.d Emacs: Fix swap-windows functions 2018-06-01 10:52:03 +02:00
.gnupg gnupg/gpg.conf: Comment out MIT keyserver 2018-05-31 16:34:36 +02:00
.guix-config guix-config: Mount /tmp as tmpfs 2018-05-18 11:26:40 +02:00
.guix-packages guix-packages/tex: Work on koma-script and marvosym 2018-05-31 21:40:28 +02:00
.local local/bin/homeclean: Clean more history files 2018-05-31 16:34:13 +02:00
.mpv mpv: Set "i" to default metadata display 2018-04-17 11:56:27 +05:30
.pkglists pkglists: Delete freebsd, gentoo, void 2018-05-18 12:34:33 +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 gitconfig: Add spacing 2018-05-20 11:16:41 +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 profile: Remove plan9 and BSD configs 2018-05-20 11:17:15 +02:00
.toprc top: Init 2018-01-16 10:52:46 +01: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: Toggle-mute Pulseaudio 2018-04-24 11:36:39 +05:30
.xinitrc ssh: Move to GPG 2018-02-07 12:08:02 +01:00
.xprofile xprofile: Add 'conkeror' to browser list 2018-05-23 17:12:23 +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.