Named correctly, and fixed to work with Le Potato

This commit is contained in:
2026-02-24 23:46:36 -06:00
parent d2c8079231
commit 80697c7da5
8 changed files with 40 additions and 42 deletions

View File

@@ -147,8 +147,7 @@ class DisplayThread(threading.Thread):
if self.dev_mode:
os.environ.setdefault("SDL_VIDEODRIVER", "x11")
else:
os.environ["SDL_VIDEODRIVER"] = "fbcon"
os.environ["SDL_FBDEV"] = "/dev/fb0"
os.environ["SDL_VIDEODRIVER"] = "kmsdrm"
try:
pygame.init()
@@ -216,7 +215,7 @@ class DisplayThread(threading.Thread):
w = self.config.width or 1280
h = self.config.height or 720
surface = pygame.display.set_mode((w, h))
pygame.display.set_caption("Sahsa Clock [DEV]")
pygame.display.set_caption("KH Clock [DEV]")
return surface
flags = pygame.FULLSCREEN | pygame.NOFRAME