This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tell our specifc panel options to wake up. | |
tell application "System Preferences" | |
reveal anchor "output" of pane id "com.apple.preference.sound" | |
end tell | |
# Save our Current Output Device as well as a List of Available Output Devices. | |
tell application "System Events" | |
tell process "System Preferences" | |
tell window "Sound" | |
tell tab group 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GIT USER PROFILE SETTING / SWITCHING | |
# This will strip the current static User from the current repo and Include an external User profile. | |
# This function relies on: Git, A Git Repo, a config file located in ~/config/git/profilename.user.config | |
# Format must be profilename.user.config | |
# Usage: gituser home => ~/config/git/home.user.config | |
# Usage: gituser "Work GitHub" => ~/config/git/Work Github.user.config | |
gituser() { | |
# Sanity check | |
if [ -z "$(which git)" ] | |
then |
NewerOlder