From 18716cd7bd749d6172beae4aea55263f3a7f75dd Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 18 Aug 2016 11:58:28 -0700 Subject: [PATCH] Add swap_mirror_swap function --- dotfiles/lib/shellrc/osx.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/lib/shellrc/osx.sh b/dotfiles/lib/shellrc/osx.sh index 588085da..d8869f6d 100644 --- a/dotfiles/lib/shellrc/osx.sh +++ b/dotfiles/lib/shellrc/osx.sh @@ -195,3 +195,7 @@ function make_main_screen { function swap_main_screen { make_main_screen 2 } + +function swap_mirror_swap { + mirror -off && swap_main_screen && mirror -on +}