dotfiles/hm/desktop/frobar/.dev/x.py

11 lines
133 B
Python
Executable file

#!/usr/bin/env python3
import Xlib.display
dis = Xlib.display.Display()
nb = dis.screen_count()
for s in range(nb):
print(s)