Screen Saver stuff.

This commit is contained in:
Ivan Malison 2014-08-23 21:15:10 -07:00
parent 663e1caa9f
commit 66782345ff
2 changed files with 8 additions and 2 deletions

View File

@ -45,4 +45,4 @@ done
alias stfu="osascript -e 'set volume output muted true'" alias stfu="osascript -e 'set volume output muted true'"
alias pumpitup="osascript -e 'set volume 7'" alias pumpitup="osascript -e 'set volume 7'"
alias pip-upgrap="pip freeze --local | get_cols -F "=" 1 | xargs -n1 sudo pip install -U" alias pip-upgrade="pip freeze --local | get_cols -F "=" 1 | xargs -n1 sudo pip install -U"

View File

@ -227,5 +227,11 @@ function get_keyboard_vendor_id_product_id_pairs() {
} }
function startss() { function startss() {
open -a /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app #reattach-to-user-namespace "/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine" &
#reattach-to-user-namespace "zsh" -c "source ~/.zshrc && ssosa"
reattach-to-user-namespace "open" "/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app"
}
function ssosa() {
osascript -e "tell application \"/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app\" to activate"
} }