Created
November 27, 2014 14:52
-
-
Save mahendrakalkura/20dc5a4a1f6c02f53985 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
# -*- coding: utf-8 -*- | |
from os import system | |
from time import sleep | |
try: | |
while True: | |
system('DISPLAY=:0 XAUTHORITY=/home/mahendra/.Xauthority xdotool click 1') | |
system('DISPLAY=:0 XAUTHORITY=/home/mahendra/.Xauthority xdotool key super') | |
sleep(1) | |
except Exception: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment