Update setup script
This commit is contained in:
parent
a14edcf87c
commit
9840df7a1a
25
setup.sh
25
setup.sh
@ -1,22 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
# OS X Setup
|
||||
# Reduce Transparency in Menu and Windows
|
||||
defaults write com.apple.universalaccess reduceTransparency -bool true
|
||||
|
||||
# Ask for the administrator password upfront
|
||||
sudo -v
|
||||
|
||||
# Keep-alive: update existing `sudo` time stamp until `setup.sh` has finished
|
||||
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
||||
|
||||
###############################################################################
|
||||
# Media #
|
||||
###############################################################################
|
||||
|
||||
# Audio {{{
|
||||
|
||||
# Disable Sound Effects on Boot
|
||||
sudo nvram SystemAudioVolume=" "
|
||||
|
||||
# }}}
|
||||
|
||||
# vim:foldmethod=marker:foldlevel=0
|
||||
# Restore Default Transparency in Menu and Windows
|
||||
defaults write com.apple.universalaccess reduceTransparency -bool false
|
||||
|
Loading…
x
Reference in New Issue
Block a user