Skip to content

Instantly share code, notes, and snippets.

View Alexandro1112's full-sized avatar
🏠
Working from home

Alexandro1112

🏠
Working from home
View GitHub Profile
#!/Users/steve/.pyenv/shims/python
# Thing to make new desktop backgrounds from my folder of research images
# On Linux I made this actually write to the desktop directly using feh, however, that's not really possible on a Mac. So I had it create a folder of graphics and then have the desktop settings choose from that directory at random.
from PIL import Image, ImageDraw
import os, random
from subprocess import call
## Colors from the Nord color scheme,