Created
April 12, 2017 19:45
-
-
Save DustinAlandzes/5ff1610caad1e6ed6c6f93d48e4ff910 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #/bin/sh | |
| DISPLAY=:0 | |
| #minimzie everything | |
| wmctrl -k on | |
| #ncompass window id | |
| winid=`wmctrl -l | grep nCompass | cut -d " " -f1` | |
| #teamviewer window id | |
| teamviewer=`wmctrl -l | grep TeamViewer | cut -d " " -f1` | |
| #unminimize ncompass window | |
| wmctrl -ia $winid | |
| #maximize ncompass window | |
| wmctrl -ir $winid -b add,maximized_vert,maximized_horz | |
| #print out window ids | |
| echo $winid | |
| echo $teamviewer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment