Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🍕

Manuel Schneider ManuelSchneid3r

💭
🍕
View GitHub Profile
@ManuelSchneid3r
ManuelSchneid3r / auto-dark-mode.py
Last active Jan 16, 2021
Cinnamon Auto Dark Mode
View auto-dark-mode.py
#!/bin/env python3
from astral import sun
from astral.geocoder import lookup, database
from datetime import datetime as dt
from pathlib import Path
from pytz import timezone
from subprocess import call
# Config