Update dotfiles/.local/bin/install-dotfiles
This commit is contained in:
parent
63d1350b21
commit
78b617e019
1 changed files with 5 additions and 5 deletions
|
@ -54,7 +54,7 @@ done < <(find /usr/local/src/professor-dotfiles/dotfiles -maxdepth 1 -mindepth 1
|
||||||
while read LOCAL_BIN; do
|
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)
|
||||||
set -ex
|
|
||||||
if [ -d /Applications ] && [ -d /System ]; then
|
if [ -d /Applications ] && [ -d /System ]; then
|
||||||
mkdir -p "$HOME/Library/Fonts"
|
mkdir -p "$HOME/Library/Fonts"
|
||||||
cp "$HOME/.local/share/fonts/Hack Bold Nerd Font Complete.ttf" "$HOME/Library/Fonts/Hack Bold Nerd Font Complete.ttf"
|
cp "$HOME/.local/share/fonts/Hack Bold Nerd Font Complete.ttf" "$HOME/Library/Fonts/Hack Bold Nerd Font Complete.ttf"
|
||||||
|
@ -67,10 +67,10 @@ if [ -d /Applications ] && [ -d /System ]; then
|
||||||
/usr/libexec/PlistBuddy -c "Add :Window\ Settings:Betel-Bash:columnCount integer 124" ~/Library/Preferences/com.apple.Terminal.plist
|
/usr/libexec/PlistBuddy -c "Add :Window\ Settings:Betel-Bash:columnCount integer 124" ~/Library/Preferences/com.apple.Terminal.plist
|
||||||
/usr/libexec/PlistBuddy -c "Add :Window\ Settings:Betel-Bash:rowCount integer 35" ~/Library/Preferences/com.apple.Terminal.plist
|
/usr/libexec/PlistBuddy -c "Add :Window\ Settings:Betel-Bash:rowCount integer 35" ~/Library/Preferences/com.apple.Terminal.plist
|
||||||
|
|
||||||
# Desktop background
|
# macOS desktop background
|
||||||
curl -sSL https://gitlab.com/megabyte-labs/misc/betelgeuse/-/raw/master/share/wallpapers/Next/contents/source.jpg > "$HOME/.local/theme/background.jpg"
|
if command -v m > /dev/null; then
|
||||||
# TODO: set desktop image or set desktop picture
|
m wallpaper "/Users/$(whoami)/.local/theme/background.jpg"
|
||||||
osascript -e 'tell application "Finder" to set desktop image to POSIX file "~/.local/theme/background.jpg"'
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Firefox theme
|
# Firefox theme
|
||||||
|
|
Loading…
Reference in a new issue