It would take you about 3.5 hours to drive south on 395 to Mono Lake, then another 0.5 hours west on 120 to Yosemite. Would definitely be a long, all-day trip. But if you do, it would be worth it. Yosemite at its eastern border is very scenic. However, if you want to see Yosemite valley it would take you at least another two hours to get there (four more hours round-trip).