Go to file
Pierre Neidhardt 6ae7522f07 mpv: Set "i" to default metadata display 2018-04-17 11:56:27 +05:30
.asy Replace TikZ samples for Asymptote samples 2015-01-08 12:07:57 +01:00
.config transmission: Configuration version update 2018-04-06 18:57:37 +05:30
.emacs.d Desktop: Load unsafe variables on startup 2018-04-17 11:56:05 +05:30
.gnupg gnupg/gpg-agent.conf: Use guix path for pinentry 2018-03-29 12:23:37 +05:30
.guix-config guix-config/config: Change kernel version to 4.14.33 2018-04-13 11:38:38 +05:30
.guix-packages guix-packages/emacs: Package RC1 2018-04-12 13:24:12 +05:30
.local helm-eww: Move to separate package 2018-04-16 15:09:42 +05:30
.mpv mpv: Set "i" to default metadata display 2018-04-17 11:56:27 +05:30
.pkglists pkglists/guix: Remove pinentry, add woof 2018-04-13 11:37:57 +05:30
.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 EXWM: Replace own volume control by pulseaudio-control 2018-02-15 14:37:49 +01:00
.gitconfig gitconfig: Set default email recipient to guix-patches@gnu.org 2018-03-30 16:08:40 +05:30
.gitignore Emacs: Move user-emacs-directory to cache 2018-02-16 23:19:10 +01:00
.gprc gprc: PARI/GP init file. 2013-06-17 17:29:04 +02:00
.mailcap mime: Init mimeapps.list 2018-01-11 09:43:08 +01:00
.profile mcron: Fix startup order 2018-04-09 12:07:31 +05:30
.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 xbindkeys: Use "light" instead of xbacklight 2018-03-27 15:59:19 +05:30
.xinitrc ssh: Move to GPG 2018-02-07 12:08:02 +01:00
.xprofile xprofile: Start pulseaudio 2018-02-08 23:55:32 +01: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.