mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-04 00:18:44 +00:00
Additional macos setup
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
linux: link bash_git_prompt tmux vim
|
||||
macos: link bash_git_prompt brew cask tmux vim
|
||||
macos: link bash_git_prompt brew cask tmux vim link_mac
|
||||
|
||||
link:
|
||||
-rm ~/.bash_aliases
|
||||
@@ -15,6 +15,10 @@ link:
|
||||
-ln -s ~/Git/dotfiles/git/.gitconfig ~
|
||||
-ln -s ~/Git/dotfiles/tmux/.tmux.conf ~
|
||||
|
||||
link_mac:
|
||||
-rm ~/.hushlogin
|
||||
-ln -s ~/Git/dotfiles/macos/.hushlogin ~
|
||||
|
||||
brew:
|
||||
-./macos/install_brew.sh
|
||||
-sudo chsh -s /usr/local/bin/bash
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# The mere presence of this file in the home directory disables the system
|
||||
# copyright notice, the date and time of the last login, the message of the
|
||||
# day as well as other information that may otherwise appear on login.
|
||||
# See `man login`.
|
||||
+15
-3
@@ -51,6 +51,19 @@ defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
|
||||
# Set the timezone; see `sudo systemsetup -listtimezones` for other values
|
||||
sudo systemsetup -settimezone "Europe/Sofia" > /dev/null
|
||||
|
||||
###############################################################################
|
||||
# Trackpad, mouse, keyboard, Bluetooth accessories, and input #
|
||||
###############################################################################
|
||||
|
||||
# Trackpad: enable tap to click for this user and for the login screen
|
||||
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
|
||||
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
||||
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
|
||||
|
||||
# Set a blazingly fast keyboard repeat rate
|
||||
defaults write NSGlobalDomain KeyRepeat -int 2
|
||||
defaults write NSGlobalDomain InitialKeyRepeat -int 10
|
||||
|
||||
###############################################################################
|
||||
# Energy saving #
|
||||
###############################################################################
|
||||
@@ -58,10 +71,10 @@ sudo systemsetup -settimezone "Europe/Sofia" > /dev/null
|
||||
# Restart automatically if the computer freezes
|
||||
sudo systemsetup -setrestartfreeze on
|
||||
|
||||
# Sleep the display after 10 minutes
|
||||
# Sleep the display after 10 minute
|
||||
sudo pmset -a displaysleep 10
|
||||
|
||||
###############################################################################
|
||||
############################################################### ################
|
||||
# Screen #
|
||||
###############################################################################
|
||||
|
||||
@@ -84,7 +97,6 @@ sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutio
|
||||
###############################################################################
|
||||
# Dock, Dashboard, and hot corners #
|
||||
###############################################################################
|
||||
# TODO: Not sure this section works tbh
|
||||
|
||||
# Set the icon size of Dock items
|
||||
defaults write com.apple.dock tilesize -int 30
|
||||
|
||||
Reference in New Issue
Block a user