This repository contains my personal dotfiles managed with GNU stow.
This repo is not meant to be used verbatim. These are my personal dotfiles and they only work for my setup. But if you are crafting your own dotfiles, you might find one or two interesting things in here.
Features:
- Terminal configs - Setup to try and be as modular and compatible as possible. More Information below.
- beets configuration
- deadbeef configuration
- git - git configuration and alias, as well as global ignore file
- mpv configuration
- Nautilus a.k.a Files (Simple File Manager for GNOME) - Currently contains file templetes for use in the right click context menu
- vim configuration
- x11 configuration
- xdg configuration for mimetypes and user directories
- Fonts
- Scripts - Bunch of scripts for various uses. So are my own, others are sourced from aroud the internet
- External Device Configuratiosn - These are configurations for devices where sing GNU Stow isn't a viable option but version control of the configurations would still be useful
- Switch - Configration Files for Atmosphere CFW, Hekate Bootloader, and other misc homebrew.
GNU stow is very easy to use. For each directory in this repo, you simply call:
stow <directory>
If dotfiles are kept somewhere like $HOME/dotfiles
or
stow -t ~/ -D <directory>
If dotfiles are kept in some sub folder like %HOME/Projects/dotfiles
My terminal configuration is split up into shell specific and none shell specific configurations.
TL;DR: Shell stuff gets sourced in this order:
.profile
– sh compatible login script, kept minimal.environ
– sh compatible environment variables & umask.bashrc
if running in bash.environ
if it wasn't sourced yet
.xprofile
- X11 login script afterprofile
The .environ
file is intended to be safe to source from anywhere, including .bashrc – that way it also applies to ssh $host $command
(which only uses .bashrc and not .profile).
Does the same as a display manager's Xsession script would do: sets $DESKTOP_SESSION
; sources .profile
, .xprofile
; loads .Xresources
and .Xkbmap
. (Also sets a default background.)
Loads .Xresources
and .Xkbmap
from alternate paths.
Sets up session environment – shared between all DMs and xinit. Currently – kernel keyring, synaptics.
If $DESKTOP_SESSION
is empty (a bare WM is being started), starts necessary daemons: compositor, notification daemon, polkit agent, screensaver, systemd-logind lock event handler, xbindkeys.
Also starts misc. daemons that are X11-dependent and per-session.
All my terminal configuaritions are heavily based on this superuser answer and grawity's dotfiles.