Update dotfiles/.local/bin/install-dotfiles
This commit is contained in:
parent
e4821d1a46
commit
7b23b54d28
1 changed files with 6 additions and 1 deletions
|
@ -50,10 +50,15 @@ if [ -d /Applications ] && [ -d /System ]; then
|
||||||
plutil -replace Window\ Settings.Betelgeuse -xml "$theme" ~/Library/Preferences/com.apple.Terminal.plist
|
plutil -replace Window\ Settings.Betelgeuse -xml "$theme" ~/Library/Preferences/com.apple.Terminal.plist
|
||||||
defaults write com.apple.Terminal "Default Window Settings" -string "Betelgeuse"
|
defaults write com.apple.Terminal "Default Window Settings" -string "Betelgeuse"
|
||||||
defaults write com.apple.Terminal "Startup Window Settings" -string "Betelgeuse"
|
defaults write com.apple.Terminal "Startup Window Settings" -string "Betelgeuse"
|
||||||
|
/usr/libexec/PlistBuddy -c "Delete :Window\ Settings:Betelgeuse:columnCount" ~/Library/Preferences/com.apple.Terminal.plist
|
||||||
|
/usr/libexec/PlistBuddy -c "Add :Window\ Settings:Betelgeuse:columnCount integer 35" ~/Library/Preferences/com.apple.Terminal.plist
|
||||||
|
/usr/libexec/PlistBuddy -c "Delete :Window\ Settings:Betelgeuse:rowCount" ~/Library/Preferences/com.apple.Terminal.plist
|
||||||
|
/usr/libexec/PlistBuddy -c "Add :Window\ Settings:Betelgeuse:rowCount integer 124" ~/Library/Preferences/com.apple.Terminal.plist
|
||||||
|
|
||||||
# Desktop background
|
# Desktop background
|
||||||
curl -sSL https://gitlab.com/megabyte-labs/misc/betelgeuse/-/raw/master/share/wallpapers/Next/contents/source.jpg > "$HOME/.local/theme/background.jpg"
|
curl -sSL https://gitlab.com/megabyte-labs/misc/betelgeuse/-/raw/master/share/wallpapers/Next/contents/source.jpg > "$HOME/.local/theme/background.jpg"
|
||||||
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "$HOME/.local/theme/background.jpg"'
|
# TODO: set desktop image or set desktop picture
|
||||||
|
osascript -e ‘tell application “Finder” to set desktop image to POSIX file "~/.local/theme/background.jpg"'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Firefox theme
|
# Firefox theme
|
||||||
|
|
Loading…
Reference in a new issue