Go to file
Pierre Neidhardt 42dfbf2ea2 package-lists/guix-handbrake-manifest: Init. 2021-08-04 11:05:44 +02:00
.asy Replace TikZ samples for Asymptote samples 2015-01-08 12:07:57 +01:00
.cache/mail/.notmuch/hooks notmuch: Specify `unread' in Emacs config instead of via tags. 2021-06-18 17:54:57 +02:00
.config nyxt: Fix my-search-engines for 2.2. 2021-07-21 09:26:13 +02:00
.emacs.d SLY: Add SBCL with low dynamic space size. 2021-07-27 09:48:58 +02:00
.gnupg gnupg/gpg.conf: Update keyserver URL. 2020-09-27 10:33:49 +02:00
.local ambrevar: Fix 'stow-saves in sync-all. 2021-06-10 19:43:52 +02:00
.package-lists package-lists/guix-handbrake-manifest: Init. 2021-08-04 11:05:44 +02:00
.Xresources Urxvt: Remove config 2017-07-28 12:06:09 +01:00
.atoolrc atool: use plzip by default. 2020-06-28 11:02:18 +02:00
.bashrc bash: Alias ll to 'ls -lh'. 2020-05-27 12:16:08 +02:00
.ccl-init.lisp CCL: Re-use SBCL init file 2018-11-22 14:59:09 +01:00
.conkyrc conkyrc: Add bibidata. 2021-06-01 10:29:33 +02:00
.curlrc Tor: Configure wget, curl, youtube-dl instead of wrapping them 2019-02-27 16:42:21 +01:00
.eclrc ECL: Init. 2020-04-28 11:11:10 +02:00
.exwm exwm: Add TODO about "markerp" error. 2019-10-17 11:38:40 +02:00
.gitconfig Git: Set GitHub user to Ambrevar. 2019-11-12 09:28:59 +01:00
.gitignore gitignore: Remove ~ dotfiles. 2020-11-19 11:34:15 +01:00
.guile .guile: Remove useless mytime macro. 2020-08-28 17:23:48 +02:00
.mailcap mime: Init mimeapps.list 2018-01-11 09:43:08 +01:00
.mbsyncrc mbsyncrc: Update Master/Slave to Far/Near. 2021-04-20 11:14:20 +02:00
.notmuch-config Notmuch: Init 2019-03-17 20:12:59 +01:00
.profile .profile: Fix `progress' arguments. 2021-01-22 21:18:34 +01:00
.sbclrc SBCL: Simplify CFFI symbol reading. 2020-12-03 13:44:13 +01:00
.slynk.lisp Replace lxqt-openssh-askpass by emacs-askpass. 2021-01-13 10:20:19 +01: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 EXWM: Remove C-c prefix key to allow for copying in graphical programs. 2021-02-21 13:24:45 +01: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: Rename Next to Nyxt and mention the notmuch hook. 2020-10-13 10:24:26 +02:00

readme.org

.dotfiles

Overview

I use of Emacs for almost everything, including my window manager (EXWM), except for the Nyxt 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.
  • A notmuch hook to tell Notmuch to use mbsync to fetch new emails.
  • 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.