aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/__main__.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/__main__.py b/src/__main__.py
new file mode 100755
index 0000000..e65472a
--- /dev/null
+++ b/src/__main__.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python3
+
+import time
+
+import Xlib.display
+
+display = Xlib.display.Display()
+screen = display.screen()
+
+window = screen.root.create_window(0, 0, 100, 100, 0, screen.root_depth)
+
+window.map()
+display.flush()
+time.sleep(1)
+display.close()
+
+