You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Pierre Neidhardt f004d46b11 Emacs: Add comment on clean user files. 1 day ago
.asy Replace TikZ samples for Asymptote samples 6 years ago
.cache/mail/.notmuch/hooks notmuch: Add "mbsync -a" to the pre-new hook 1 year ago
.config config/guix/system/usb-install-media: Note about Nonguix install media. 1 month ago
.emacs.d Emacs: Add comment on clean user files. 1 day ago
.gnupg gnupg/gpg.conf: Update keyserver URL. 4 months ago
.local ambrevar/shell: Fix %cmd- to use :- instead of :<>. 1 day ago
.package-lists .package-lists/guix-common-lisp-manifest: Update comment on cmd. 6 days ago
.Xresources Urxvt: Remove config 3 years ago
.atoolrc atool: use plzip by default. 7 months ago
.bashrc bash: Alias ll to 'ls -lh'. 8 months ago
.ccl-init.lisp CCL: Re-use SBCL init file 2 years ago
.conkyrc conky: Display disk usage. 1 month ago
.curlrc Tor: Configure wget, curl, youtube-dl instead of wrapping them 1 year ago
.eclrc ECL: Init. 9 months ago
.exwm exwm: Add TODO about "markerp" error. 1 year ago
.gitconfig Git: Set GitHub user to Ambrevar. 1 year ago
.gitignore gitignore: Remove ~ dotfiles. 2 months ago
.guile .guile: Remove useless mytime macro. 5 months ago
.mailcap mime: Init mimeapps.list 3 years ago
.mbsyncrc Emacs: Use password store for authentication. 1 year ago
.notmuch-config Notmuch: Init 1 year ago
.profile .profile: Fix `progress' arguments. 3 days ago
.sbclrc SBCL: Simplify CFFI symbol reading. 1 month ago
.slynk.lisp Replace lxqt-openssh-askpass by emacs-askpass. 1 week ago
.swank.lisp Swank: Comment obsolete requirements for Next. 1 year ago
.toprc top: Init 3 years ago
.torrc tor: Use India, Ukraine, South Korea exit nodes 2 years ago
.uncrustify.cfg uncrustify: Don't change cpp-comments to c-comments 2 years ago
.units units: Use currency.units from the user profile 2 years ago
.wgetrc Tor: Configure wget, curl, youtube-dl instead of wrapping them 1 year ago
.xbindkeysrc xbindkeysrc: Use pulseaudio 2 years ago
.xinitrc .xinitrc: Load EXWM from there 1 year ago
.xprofile xprofile: Default browser is now named Nyxt. 7 months ago
.xsession .xsession: Pass arguments so that different desktop environments can be selected 1 year ago
COPYING Add GPL3 license 2 years ago
readme.org readme: Rename Next to Nyxt and mention the notmuch hook. 3 months ago

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.