Go to file
Pierre Neidhardt 2d62086a8f exwm: Add TODO about "markerp" error. 2019-10-17 11:38:40 +02:00
.asy Replace TikZ samples for Asymptote samples 2015-01-08 12:07:57 +01:00
.cache/mail/.notmuch/hooks notmuch: Add "mbsync -a" to the pre-new hook 2019-03-18 10:15:48 +01:00
.config youtube-dl: Disable proxy by default. 2019-10-10 17:08:49 +02:00
.emacs.d SLY: Fix sly-mrepl C-c M-o binding, remove C-c C-d h binding (SLY has C-c C-d C-h). 2019-10-17 10:58:51 +02:00
.gnupg gnupg/gpg.conf: Disable the slow auto-key-retrieve 2018-09-18 20:39:20 +02:00
.local local/bin/btrfs-snap-all: Add preview option. 2019-10-16 15:53:11 +02:00
.mpv mpv: Set "i" to default metadata display 2018-04-17 11:56:27 +05:30
.package-lists package-lists/default: Remove gettext. 2019-10-17 11:00:28 +02:00
.Xresources Urxvt: Remove config 2017-07-28 12:06:09 +01:00
.ccl-init.lisp CCL: Re-use SBCL init file 2018-11-22 14:59:09 +01:00
.conkyrc conky: Remove network speed workaround since upstream fixed the issue 2019-02-14 16:59:35 +01:00
.curlrc Tor: Configure wget, curl, youtube-dl instead of wrapping them 2019-02-27 16:42:21 +01:00
.exwm exwm: Add TODO about "markerp" error. 2019-10-17 11:38:40 +02:00
.gitconfig Git: Use Tor 2019-02-27 16:42:45 +01:00
.gitignore Move personal/mail to dotfiles 2019-03-18 10:20:12 +01:00
.mailcap mime: Init mimeapps.list 2018-01-11 09:43:08 +01:00
.mbsyncrc Move personal/mail to dotfiles 2019-03-18 10:20:12 +01:00
.notmuch-config Notmuch: Init 2019-03-17 20:12:59 +01:00
.profile .profile: Make hackpool higher priority than Guix profiles. 2019-10-17 11:00:47 +02:00
.sbclrc sbclrc: Push all guix-extra-profiles "lib" folders to cffi:*foreign-library-directories*. 2019-09-25 19:44:23 +02:00
.swank.lisp Swank: Comment obsolete requirements for Next. 2019-08-25 21:01:56 +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: Don't change cpp-comments to c-comments 2018-11-12 16:56:50 +01:00
.units units: Use currency.units from the user profile 2018-03-31 10:08:31 +05:30
.wgetrc Tor: Configure wget, curl, youtube-dl instead of wrapping them 2019-02-27 16:42:21 +01:00
.xbindkeysrc xbindkeysrc: Use pulseaudio 2018-07-07 09:38:56 +02:00
.xinitrc .xinitrc: Load EXWM from there 2019-03-27 19:12:19 +01:00
.xprofile xprofile: Bind nbsp to AltGr+Space instead of Shift+Space. 2019-08-05 11:49:38 +02:00
.xsession .xsession: Pass arguments so that different desktop environments can be selected 2019-03-27 19:09:52 +01:00
COPYING Add GPL3 license 2018-12-03 23:03:35 +01:00
readme.org readme: Link to helm-notmuch homepage 2019-03-20 12:17:33 +01:00

readme.org

.dotfiles

Overview

I use of Emacs for almost everything, including my window manager (EXWM), except for the Next web browser. 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.

E-mail setup

Emails can be particularly tricky to set up, so I think they deserve a dedicated section. My configuration files:

  • .mbsyncrc for mbsync from the isync project to synchronize mail mailboxes over IMAP.
  • .notmuch-config for the email indexer.
  • My Emacs' init-notmuch.el for the user interface with the helm-notmuch extension for searches with live updates. (A must!)
  • My Emacs' init-message.el to send emails. I can afford to not rely on a dedicated SMTP client (e.g. msmtp) since all my email accounts use the same SMTP server.
  • My Emacs' init-notmuch-sync.el and my homesync script to synchronize the user tags (but not the automatic ones) under version control.

Setup

For the list of programs I currently use, see the .package-lists/ folder.

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

The homeclean script removes trash files, cache 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 repository, 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 .

Or, from a different location:

$ cd /path/to/dotfiles
$ stow -t ~ .

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.

License

Unless stated otherwise, all files are under the GPL3 license. See COPYING for the full license.