Dungeons, dragons, dotfiles and dives
A bunch of simple scripts and dotfiles I use. Should eventually be able to recreate my preferred linux environment really quicly.
- Run a new-ish fedora workstation
sudo dnf_install.sh- Run
./link.shfrom the repository root - Run
./bin/tool all(will take a while) - swaylock-effects
- Compile by hand to avoid a bug on the lock screen
- Deps:
sudo dnf install meson ninja wayland-devel wayland-protocols-devel libxkbcommon-devel cairo-devel gdk-pixbuf2-devel pam-devel scdoc libomp bash-completion-devel
- Check git email with
git config user.email - Edit crontab to run
bin/cron_battery.sh(for laptops) - Handle ssh keys (See instructions)
- Setup Tmux
- Install tpm
- Open fish (should open tmux as well)
tmux source ~/.config/tmux/tmux.conf- Install tpm packages with prefix+I
- Misc one time conf
- Enable dark mode with
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' - Passwordless sudo:
sudo visudo(give %wheel NOPASSWD)sudo usermod -a -G wheel <username>
- Symlink a file from
machine-confstobin/git-ignored/machine-conf
- Enable dark mode with
dotfiles/*is linked to$HOME/*home_config/*->$HOME/.config/*bin->$HOME/bindesktop/*->$HOME/.local/share/applications/*(desktop icons for wofi)
Requirements:
- Python3
- pip-package pexpect
- gpg
- Generate an ssh key with a passphrase
- Generate a gpg key with
gpg --generate-key - Put
<path to ssh key> <ssh key passphrase>in a file - Encrypt previous file with
gpg --output ~/.ssh/key_password_vault.asc --encrypt --recipient <email> <path of file from previous step> - Remove
~/.sshagentenvif it exists reload- Remove the file you temporarily had your password in written in plain text