Dotfiles/README.md

84 lines
2.4 KiB
Markdown
Raw Normal View History

2024-01-06 14:19:39 +00:00
# Dotfiles
These are my dotfiles. As you will notice, they are quite simple. Over the
years, I have built up many complex and fancy init scripts for many different
programs, but I've come to realize that sometimes simplicity and defaults are
better.
The dotfiles here are just the basics—useful aliases and functions that
have stuck around throughout the years. They're minimal, but useful. The main
part of my `.ashrc` is the customized prompt, which supports showing the current
`git` branch.
My shell init scripts are written in POSIX shell, so they should work on any
shell. As I've hopped from Ubuntu to Arch to OpenBSD to FreeBSD and now to
2024-01-09 23:09:26 +00:00
Alpine, I've used a lot of shells, and I want my init scripts to work on all
2024-01-06 14:19:39 +00:00
of them out of the box.
## System Setup
My current operating system of choice is Alpine Linux. If I ever re-install,
this is the set up procedure:
```
setup-desktop plasma
apk add networkmanager-wifi wpa_supplicant
rc-update add wpa_supplicant default
rc-update add networkmanager default
# File explorer
apk add dolphin
# Media player
apk add haruna
# Camera
apk add kamoso
# Printing
apk add system-config-printer cups cups-filter
# Scanning
apk add simple-scan sane-backends
2024-01-09 23:09:26 +00:00
# PDFs and Epubs
apk add okular ebook-tools
# Other GUI applications
apk add libreoffice musescore neochat qt5-qtlocation nextcloud-client \
nextcloud-client-dolphin
2024-01-14 19:23:50 +00:00
# Spell checking in Libreoffice.
apk add hunspell hunspell-en hunspell-en-us
# Development
apk add neovim pandoc git less make gcc musl-dev openssl-dev mandoc man-pages
```
### Firefox
I use the following Firefox extensions:
- [ClearURLs](https://addons.mozilla.org/en-US/firefox/addon/clearurls/)
- [Bypass Paywalls Clean](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean)
- [Nextcloud Passwords](https://addons.mozilla.org/en-US/firefox/addon/nextcloud-passwords)
- [Plasma Integration](https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/)
- [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/)
### Files
Theoretically, everything important that I care about should live in
`~/Documents` and `~/Projects`, so I just have to copy those folders over to new
systems.
### Backup
I use the following command to back up my stuff to my server, which then takes a
ZFS snapshot for me:
```
rsync -av --delete --exclude .cache "$HOME/" server:$HOME/"
```
Eventually I will use ZFS on my laptop.