From d489d4ebb8ff34d9acfdb2c6dcaa2bc1984961c6 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sat, 29 Oct 2022 11:51:19 +0000 Subject: [PATCH] Update dotfiles/.profile, dotfiles/.local/bin/install-dotfiles --- dotfiles/.local/bin/install-dotfiles | 4 ++++ dotfiles/.profile | 3 +++ 2 files changed, 7 insertions(+) diff --git a/dotfiles/.local/bin/install-dotfiles b/dotfiles/.local/bin/install-dotfiles index aedbc6c4..5016164b 100644 --- a/dotfiles/.local/bin/install-dotfiles +++ b/dotfiles/.local/bin/install-dotfiles @@ -42,6 +42,10 @@ while read LOCAL_BIN; do chmod +x "${LOCAL_BIN}" done < <(find "$HOME/.local/bin" -maxdepth 1 -mindepth 1 -type f) +if [ -d /Applications ] && [ -d /System ]; then + sudo cp -rf "$HOME/.local/share/fonts/" "/Library/Fonts/" +fi + # Firefox theme # if [ ! -f ~/.mozilla/firefox ] && [ ! -f '/etc/qubes-release' ]; then # if [ -d /usr/local/src/firefox-sweet-theme/.git ]; then diff --git a/dotfiles/.profile b/dotfiles/.profile index 3a9847b2..07f89399 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -287,6 +287,9 @@ alias downloadsite='wget --mirror -p --convert-links -P' # Flush DNS alias flushdns='sudo systemd-resolve --flush-caches && sudo systemd-resolve --statistics' +# FontBook for macOS +alias fontbook="open -b com.apple.FontBook" + # Get the possible GRUB resolutions alias grubresolutions='sudo hwinfo --framebuffer'