Commit 4af667da authored by Taddeüs Kroes's avatar Taddeüs Kroes

Add Xlib as a submodule

parent a8f3eb0d
[submodule "python-xlib"]
path = python-xlib
url = git@github.com:python-xlib/python-xlib.git
#!/usr/bin/env python3 #!/usr/bin/env python3
import sys
from os.path import dirname, join
sys.path.insert(0, join(dirname(__file__), 'python-xlib'))
import os import os
import time import time
from collections import deque from collections import deque
...@@ -25,7 +29,6 @@ def save_screenshot(win): ...@@ -25,7 +29,6 @@ def save_screenshot(win):
if __name__ == '__main__': if __name__ == '__main__':
import sys
verbose = '-q' not in sys.argv[1:] verbose = '-q' not in sys.argv[1:]
try: try:
......
import sys
from os.path import dirname, join
sys.path.insert(0, join(dirname(__file__), 'python-xlib'))
import time import time
from random import randint from random import randint
from Xlib import display, X, XK, ext from Xlib import display, X, XK, ext
......
Subproject commit 2dbeb64e10169b485af1292fb649287a28a07864
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment