diff options
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-x | src/__main__.py | 17 |
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() + + |