Emacs, EXWM, Nyxt, Guix https://ambrevar.xyz

Pierre Neidhardt d904488d63 Helm: Set up helm-switch-to-repl. 4 سال پیش
.asy f9179fda93 Replace TikZ samples for Asymptote samples 10 سال پیش
.cache 1fc81eac21 notmuch: Add "mbsync -a" to the pre-new hook 5 سال پیش
.config 90f2676962 Nyxt: Fix spurious comma. 4 سال پیش
.emacs.d d904488d63 Helm: Set up helm-switch-to-repl. 4 سال پیش
.gnupg a0d7a55434 gnupg/gpg.conf: Update keyserver URL. 4 سال پیش
.local 2c450fd8a6 local/bin/homesync: Fix missing $PERSONAL variables. 4 سال پیش
.mpv 6ae7522f07 mpv: Set "i" to default metadata display 6 سال پیش
.package-lists 681032af35 Emacs: Re-enable sly-named-readtables. 4 سال پیش
.Xresources 128948f989 Urxvt: Remove config 7 سال پیش
.atoolrc b6c7fc0b0e atool: use plzip by default. 4 سال پیش
.bashrc 48aee0590e bash: Alias ll to 'ls -lh'. 4 سال پیش
.ccl-init.lisp 5af6b0491e CCL: Re-use SBCL init file 6 سال پیش
.conkyrc c6eb7ed3f4 conkyrc: Remove time. 4 سال پیش
.curlrc a6f731cc5f Tor: Configure wget, curl, youtube-dl instead of wrapping them 5 سال پیش
.eclrc 5847711c19 ECL: Init. 4 سال پیش
.exwm 2d62086a8f exwm: Add TODO about "markerp" error. 5 سال پیش
.gitconfig 5ff691e31e Git: Set GitHub user to Ambrevar. 5 سال پیش
.gitignore 69e95d403d gitignore: Remove ~ dotfiles. 4 سال پیش
.guile f342c8e6ac .guile: Remove useless mytime macro. 4 سال پیش
.mailcap 5984eda22a mime: Init mimeapps.list 6 سال پیش
.mbsyncrc c3c61d45a4 Emacs: Use password store for authentication. 5 سال پیش
.notmuch-config fefc905b55 Notmuch: Init 5 سال پیش
.profile 5d32b5a8e7 Move ~/personal to $PERSONAL. 4 سال پیش
.sbclrc 5bb213037a Lisp: Move sbclrc helpers to :ambrevar system. 4 سال پیش
.swank.lisp 07f92ee3f1 Swank: Comment obsolete requirements for Next. 5 سال پیش
.toprc ae67889999 top: Init 6 سال پیش
.torrc 5ed2d56b7d tor: Use India, Ukraine, South Korea exit nodes 6 سال پیش
.uncrustify.cfg b2eabbb9e2 uncrustify: Don't change cpp-comments to c-comments 6 سال پیش
.units ebb2a1e518 units: Use currency.units from the user profile 6 سال پیش
.wgetrc a6f731cc5f Tor: Configure wget, curl, youtube-dl instead of wrapping them 5 سال پیش
.xbindkeysrc 72698dbb1f xbindkeysrc: Use pulseaudio 6 سال پیش
.xinitrc 7c4a070f33 .xinitrc: Load EXWM from there 5 سال پیش
.xprofile 60ea653659 xprofile: Default browser is now named Nyxt. 4 سال پیش
.xsession 3a0ab506c3 .xsession: Pass arguments so that different desktop environments can be selected 5 سال پیش
COPYING 333d2f2056 Add GPL3 license 6 سال پیش
readme.org 2917c2345e readme: Rename Next to Nyxt and mention the notmuch hook. 4 سال پیش

readme.org

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.