|
1 week ago | |
---|---|---|
bin | 1 week ago | |
feh | 4 months ago | |
foot | 4 months ago | |
git | 2 weeks ago | |
gpg | 4 months ago | |
i3 | 1 week ago | |
less | 4 months ago | |
mpv | 2 weeks ago | |
mutt | 1 year ago | |
nano | 3 months ago | |
sh | 4 months ago | |
ssh | 1 week ago | |
sway | 1 week ago | |
tmux | 1 week ago | |
README.md | 2 months ago | |
Xresources | 4 months ago | |
env | 1 week ago | |
install | 1 week ago | |
profile | 1 week ago | |
xinitrc | 1 week ago |
README.md
Personal dotconfig
This repository is for synchronizing my ~/.config
directory across machines.
It does not use any dotfile manager, its only that directory tracked in git.
There is an ./install
script that sets up some symlinks.
Supported shells are dash
, mksh
, bash
and zsh
.
Topical directories
Most directories in this repo are related to some specific software. I call these 'topical directory'. Each topical directory can have a selection of three snippets:
install
, sourced during dotfiles installationprofile
for login shellsenv
for interactive shells
Each is called by the respective script in the repo root, if and only if a command with the same name of the topical directory exists. This is the mechamism to only select configuration of software that is installed on the specfic system.
Shells launched in the background
Shell scripts started from background daemons like cron or init won't have the environment variables resulting from the login process and profile
.
Appending -l
to the end of their shebang line will cause the executing shell to undergo this process and, in turn, also load these settings.
Xorg / i3 / xterm
Somehow the xinitrc
must be started, this integration depends on whether you use a display manager or startx.
When run, it does the usual Xorg configuration including Xmodmap and Xresources.
The setup is simple. All windows run maximized, only one bar at the top displays the titles of all windows. Windows are switched between by using the left Alt-Key and WASD, moved by additionally holding shift. A new terminal is launched using Alt+Enter.
xterm is configured via Xresources. If xterm is not installed, rxvt-unicode is tried.
Wayland / Sway / foot
Sway can be started from the tty. Both sway
and foot
look into ~/.config
on their own.
Sway is using the same config as i3.