Go to file
Pierre Neidhardt b2eabbb9e2 uncrustify: Don't change cpp-comments to c-comments 2018-11-12 16:56:50 +01:00
.asy Replace TikZ samples for Asymptote samples 2015-01-08 12:07:57 +01:00
.config config/guix/config: Disable hplip 2018-11-09 19:02:03 +01:00
.emacs.d Emacs: Disassociate .m from octave-mode 2018-11-09 08:37:43 +01:00
.gnupg gnupg/gpg.conf: Disable the slow auto-key-retrieve 2018-09-18 20:39:20 +02:00
.guix-packages/ambrevar guix-packages/ambrevar/linux-custom: Update to 4.14.78, default kconfig 2018-11-09 19:01:32 +01:00
.local local/bin/netscan: Fix for recent ifconfig versions 2018-10-20 12:21:49 +02:00
.mpv mpv: Set "i" to default metadata display 2018-04-17 11:56:27 +05:30
.package-lists package-lists/guix: Add emacs-helm-slime, remove epiphany, tor, udisks 2018-11-08 20:31:25 +01: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 Clean up TODO items 2018-10-17 14:57:40 +02:00
.gitconfig gitconfig: Document netrc debug and verbose options 2018-09-18 12:36:15 +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: Export CC for Makefiles 2018-11-08 17:26:48 +01: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
.xbindkeysrc xbindkeysrc: Use pulseaudio 2018-07-07 09:38:56 +02:00
.xinitrc ssh: Move to GPG 2018-02-07 12:08:02 +01:00
.xprofile xprofile: Add Epiphany and use alternate variable for MIME 2018-09-19 09:27:55 +02:00
.xsession xsession: Use 'exec' 2018-03-29 12:24:04 +05:30
readme.org readme: Update homepage URL 2018-08-12 09:14:04 +02:00

readme.org

.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 .package-lists/ 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 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 .

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.