Update dotfiles/.profile, dotfiles/.local/bin/install-dotfiles

This commit is contained in:
Brian Zalewski 2022-10-29 11:51:19 +00:00
parent ee9a1f551a
commit d489d4ebb8
2 changed files with 7 additions and 0 deletions

View file

@ -42,6 +42,10 @@ while read LOCAL_BIN; do
chmod +x "${LOCAL_BIN}" chmod +x "${LOCAL_BIN}"
done < <(find "$HOME/.local/bin" -maxdepth 1 -mindepth 1 -type f) 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 # Firefox theme
# if [ ! -f ~/.mozilla/firefox ] && [ ! -f '/etc/qubes-release' ]; then # if [ ! -f ~/.mozilla/firefox ] && [ ! -f '/etc/qubes-release' ]; then
# if [ -d /usr/local/src/firefox-sweet-theme/.git ]; then # if [ -d /usr/local/src/firefox-sweet-theme/.git ]; then

View file

@ -287,6 +287,9 @@ alias downloadsite='wget --mirror -p --convert-links -P'
# Flush DNS # Flush DNS
alias flushdns='sudo systemd-resolve --flush-caches && sudo systemd-resolve --statistics' 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 # Get the possible GRUB resolutions
alias grubresolutions='sudo hwinfo --framebuffer' alias grubresolutions='sudo hwinfo --framebuffer'