dotfiles/config/lemonbar/x.py
2018-09-05 09:07:37 +02: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)