dotfiles/config/nix/hm/frobar/.dev/x.py
Geoffrey Frogeye 47a19d7f82
nix: frobar
Semi-proper Python packaging, and non-conflicting names, yahoo!
2023-11-19 20:51:05 +01:00

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)