Created
June 19, 2016 18:25
-
-
Save candale/03742de89a2ad72e32326e15ed13cb2a to your computer and use it in GitHub Desktop.
This file contains 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 | |
if wmctrl -m | grep "mode: ON"; then | |
exec wmctrl -k off | |
else | |
exec wmctrl -k on | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment