Latest
This commit is contained in:
parent
57fd987492
commit
d80857beac
3 changed files with 9 additions and 4 deletions
|
@ -207,7 +207,6 @@ data:
|
|||
username: "{{ default "user" (env "USER") }}"
|
||||
weatherZipCode: 07960
|
||||
diff:
|
||||
command: delta
|
||||
pager: delta
|
||||
format: git
|
||||
args:
|
||||
|
|
|
@ -18,8 +18,14 @@ applyFontsToSystem() {
|
|||
### macOS
|
||||
logg info 'Copying fonts from ~/Library/Fonts and ~/.local/share/fonts to /Library/Fonts to make them available globally'
|
||||
FONT_DIR='/Library/Fonts'
|
||||
sudo rsync -av "$HOME/Library/Fonts" "$FONT_DIR"
|
||||
sudo rsync -av "${XDG_DATA_HOME:-$HOME/.local/share}/fonts" "$FONT_DIR"
|
||||
### ~/Library/Fonts
|
||||
if [ -d "$HOME/Library/Fonts" ]; then
|
||||
logg info "Syncing $HOME/Library/Fonts to $FONT_DIR" && sudo rsync -av "$HOME/Library/Fonts" "$FONT_DIR"
|
||||
fi
|
||||
### ~/.local/share/fonts
|
||||
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/fonts" ]; then
|
||||
logg info "Syncing ${XDG_DATA_HOME:-$HOME/.local/share}/fonts to $FONT_DIR" && sudo rsync -av "${XDG_DATA_HOME:-$HOME/.local/share}/fonts" "$FONT_DIR"
|
||||
fi
|
||||
else
|
||||
### Linux
|
||||
### Copy fonts
|
||||
|
|
Loading…
Reference in a new issue