diff --git a/.config/aliasrc/apple b/.config/aliasrc/apple index 5145dbf..450cfc7 100644 --- a/.config/aliasrc/apple +++ b/.config/aliasrc/apple @@ -1,7 +1,9 @@ -setupmac() { - defaults write com.apple.dock expose-animation-duration -float 0.1 - defaults write -g InitialKeyRepeat -int 12 - defaults write -g KeyRepeat -int 1 - defaults write com.apple.Dock autohide-delay -float 0; killall Dock - defaults write -g com.apple.mouse.scaling -integer -1 -} +# parallels +alias stoppar='pkill -SIGHUP -f /Applications/Parallels\ Desktop.app' +alias startpar='open -a Parallels\ Desktop' +alias startparra='hc && open -a Parallels\ Desktop' +alias stopparra='hc && pkill -SIGHUP -f /Applications/Parallels\ Desktop.app' + +# docker +alias startdocker='open -a Docker' +alias stopdocker="pkill -SIGHUP -f /Applications/Docker.app 'docker serve'" diff --git a/.config/aliasrc/programs b/.config/aliasrc/programs index 3de8318..79612b9 100755 --- a/.config/aliasrc/programs +++ b/.config/aliasrc/programs @@ -55,7 +55,3 @@ hlst() { history | tail --lines=1 | cut -d " " -f 4-; } cpy() { python -c "import sys, pyperclip; pyperclip.copy(sys.stdin.read().strip())"; } lstc() { lst | cpy; } hlstc() { hlst | cpy; } - -# docker -alias startdocker='open -a Docker' -alias stopdocker="pkill -SIGHUP -f /Applications/Docker.app 'docker serve'"