Created
March 29, 2012 21:12
-
-
Save AeroNotix/2243860 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
| def cmd_restart(self): | |
| """ | |
| Restart qtile using the execute command. | |
| """ | |
| try: | |
| for group in self.groupMap: | |
| for window in self.groupMap[group].windows: | |
| print window | |
| except Exception as e: | |
| print e | |
| self.cmd_execute(sys.executable, [sys.executable] + sys.argv) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment