mar does dotfiles
Find a file
2024-04-17 19:13:47 -07:00
.chezmoidata build(pkgs): Finally automate packagelists 2024-04-15 20:03:34 -07:00
.chezmoiexternals 🔥 refactor(themes): Switch to AUR managed themes 2024-04-15 10:43:34 -07:00
bin Add bin/.keep 2024-04-17 19:06:18 -07:00
dot_config Update .config/fish/functions/copy-gpg-key.fish 2024-04-17 19:13:47 -07:00
dot_icons/default feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
dot_screenlayout feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
private_dot_gnupg feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
.chezmoi.toml.tmpl Update .chezmoi.toml 2024-04-17 19:03:30 -07:00
.chezmoiignore 🐛 fix: Small fixes 2024-04-15 12:32:56 -07:00
.gitignore 🐛 fix: Small fixes 2024-04-15 12:32:56 -07:00
dot_bash_logout feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
dot_bash_profile feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
dot_bashrc feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
dot_plugin-versions feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
dot_tool-versions feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
dot_xprofile feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
dot_Xresources feat: Migrate to Chezmoi 2024-04-14 18:41:15 -07:00
README.md 📝 docs: Update README 2024-04-15 14:15:29 -07:00
tags 📝 docs: Update README 2024-04-15 14:15:29 -07:00

mar does dotfiles

Welcome to my dotfiles :)

Feel free to steal what you like, though I'd advise against wholesale using my config. Things are likely to break. At the very least - change the values in dot_config/git/config.local.

I apologize for the disgusting Chezmoi format - I resisted it for ages and then things got complex enough that I needed it.

The branches all contain previous iterations, with the exception of fish-shell which was used to test out using fish as my login shell before committing.

First-Time Setup

Arch

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
cd ..
rm -rf yay-bin

yay -Syu
yay -S --needed - < ~/.config/packages/<list>

Make sure to edit the list first (copy and rename to current hostname) if needed to remove unneeded GPU drivers!

General

volta install node
topgrade

Themes

GRUB

# /etc/default/grub
GRUB_THEME="/usr/share/grub/themes/catppuccin-<flavor>/theme.txt"

sudo grub-mkconfig -o /boot/grub/grub.cfg

SDDM

TTY

git clone https://github.com/catppuccin/tty.git
cd tty
./generate.sh <flavor> | copyq copy -

Edit /etc/default/grub and append copied content to GRUB_CMDLINE_LINUX.

sudo grub-mkconfig -o /boot/grub/grub.cfg

How to setup GPG because it makes me want to toss the computer out the window

gpg --full-gen-key
# kind of key: 4
# key size: 4096
# expiration: 0 && y
# real name: punkfairie
# email: 23287005+punkfairie@users.noreply.github.com

sudo -k
chown -R (whoami) "$HOME/.gnupg/"
find "$HOME/.gnupg" -type f -exec chmod 600 {} \;
find "$HOME/.gnupg" -type d -exec chmod 700 {} \;

set key (\
    gpg --list-secret-keys --keyid-format SHORT\
    | grep 'rsa4096'\
    | sed 's/sec   rsa4096\///'\
    | awk '{print $1}'\
)
copyq copy "$key"
# ~/.config/chezmoi/chezmoi.toml

[data]
gpgKey = # PASTE HERE
gpg --armor --export $key | copyq copy -

Go to https://github.com/settings/keys and add the copied key to your account.