Skip to content

dbarnett/dotfiles

Repository files navigation

David's home directory & dotfiles

System bootstrap

This dotfiles config is applied using yadm. Install it and then activate it like:

$ echo 'export [email protected]' >> ~/.profile.local
$ . ~/.profile.local
$ yadm clone [email protected]:dbarnett/dotfiles.git

Note: requires env var support in yadm 3.2.0 or later.

TODO: Fix sometimes getting stuck on vim plug installs etc and needing rerun.

More setup

Set up SSH keys for GitHub: https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

Fonts

Some things like Starship need special fonts like Nerd Fonts. To install on e.g. Debian Linux, do:

$ wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/FiraCode.zip
$ mkdir -p ~/.local/share/fonts
$ cd ~/.local/share/fonts/
$ unzip ~/FiraCode.zip *.ttf

Also requires some weird Nerd Font Web setup involving term_.prefs_ for things like Chrome Secure Shell extension.

Other preferences

Set up Compose key. On Linux:

$ setxkbmap -option compose:ralt

GTK Theme: gtk-chtheme (Ambiance or similar)

gnome-terminal scrolling: Edit > Profile Preferences > Scrolling > Scrollback > 10000

Legacy system bootstraps

The following instructions are mostly old manual setup instructions I need to update to take advantage of yadm.

Basic setup (OS X)

Install https://brew.sh/

$ brew install $(<system_bootstrap/brew_packages.txt)
$ pip3 install pythonpy

If there are permission errors, try

chmod g+w -R /usr/local

and check paths and user has groups admin and staff.

For i3

Kill ugly dunst notifications:

$ sudo apt install notify-osd
$ sudo apt purge dunst

Tolerable launcher:

$ sudo apt remove suckless-tools 
$ sudo dpkg -i Downloads/rofi_0.15.11-4_amd64.deb  # if package isn't in dist
$ sudo ln -s /usr/bin/rofi /usr/local/bin/dmenu

Prevent weird Nautilus desktop window (https://faq.i3wm.org/question/1/how-can-i-get-rid-of-the-nautilus-desktop-window.1.html).

$ gsettings set org.gnome.desktop.background show-desktop-icons false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published