Go to file
Pierre Neidhardt c434220bea homeinit: Comment on bash_profile and Guix manifest 2018-05-21 12:55:21 +02:00
.asy Replace TikZ samples for Asymptote samples 2015-01-08 12:07:57 +01:00
.config mcron: Fix CPU hog with failing units_cur 2018-04-24 11:34:01 +05:30
.emacs.d Emacs: Default to 12 point font 2018-05-17 17:19:37 +02:00
.gnupg gnupg/gpg-agent.conf: Use guix path for pinentry 2018-03-29 12:23:37 +05:30
.guix-config guix-config: Mount /tmp as tmpfs 2018-05-18 11:26:40 +02:00
.guix-packages guix-packages/emacs: Init emacs-dev 2018-05-17 17:17:52 +02:00
.local homeinit: Comment on bash_profile and Guix manifest 2018-05-21 12:55:21 +02:00
.mpv mpv: Set "i" to default metadata display 2018-04-17 11:56:27 +05:30
.pkglists pkglists: Delete freebsd, gentoo, void 2018-05-18 12:34:33 +02: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 conky: Document conky race condition with pulseaudio's pactl 2018-05-21 12:53:42 +02:00
.gitconfig gitconfig: Add spacing 2018-05-20 11:16:41 +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: Remove plan9 and BSD configs 2018-05-20 11:17:15 +02:00
.toprc top: Init 2018-01-16 10:52:46 +01:00
.uncrustify.cfg Uncrustify: Remove blank lines before/after '}'/'{' respectively 2016-06-11 16:40:21 +02:00
.units units: Use currency.units from the user profile 2018-03-31 10:08:31 +05:30
.xbindkeysrc xbindkeysrc: Toggle-mute Pulseaudio 2018-04-24 11:36:39 +05:30
.xinitrc ssh: Move to GPG 2018-02-07 12:08:02 +01:00
.xprofile xprofile: Add Next to browser list, remove terminal bindings 2018-05-20 11:18:16 +02:00
.xsession xsession: Use 'exec' 2018-03-29 12:24:04 +05:30
README.md README: Add instructions for GNU Stow 2018-03-09 15:55:02 +05:30

README.md

.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.

I've also written a fair amount of scripts. The highlights include:

  • asciify: convert many non-ASCII characters to their nearest ASCII counterpart.

  • bsdman: read *BSD man pages.

  • crun: quick way to execute C files.

  • dataindex: create index of hierarchies. Useful to keep track of folder content and structure.

  • ediff: diff with Emacs.

  • einfo: info viewer with Emacs.

  • elisp: Emacs Lisp interpreter using Emacs.

  • git-*: some git helper functions for sync and so on.

  • homeinit: initialize a new home configuration, i.e. get needed files, create symlinks, etc.

  • imagemount: a CDEmu/fuseiso wrapper that creates/deletes virtual drives automatically.

  • mover: move and merge folder into destination.

  • pac*: pacman helper functions.

  • pdfctl: PDF manipulation, e.g. extract pages, compress, resize to A4.

  • pkglister: generate lists of installed with pacman, FreeBSD's pkg and tlmgr (TeX Live manager).

  • tc-video-*: batch conversion of any kind of videos. Using FFmpeg.

Setup

For the list of programs I currently use, see the .pkglists/ folder.

Dotfiles can be managed in different ways.

Direct versioning

Git makes it possible to use your home folder as a git repo, 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.