dotfiles/config/nix/hm/frobar/.dev/x.py

11 lines
133 B
Python
Raw Normal View History

2018-09-05 09:07:37 +02:00
#!/usr/bin/env python3
import Xlib.display
dis = Xlib.display.Display()
nb = dis.screen_count()
for s in range(nb):
print(s)