update weston systemd config

This commit is contained in:
Maxime Desroches
2025-06-27 16:26:30 -07:00
parent d811281522
commit a895b3fff9
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
12.4
12.5
+1
View File
@@ -15,6 +15,7 @@ TTYVHangup=yes
TTYVTDisallocate=yes
ExecStartPre=/bin/bash -c "/usr/local/venv/bin/python -c 'import fcntl; KDSETMODE = 0x4B3A; KD_TEXT = 0x00; fd = open(\"/dev/tty1\", \"w\"); fcntl.ioctl(fd, KDSETMODE, KD_TEXT); fd.close()'"
ExecStartPre=/bin/bash -c "/usr/local/venv/bin/python -c 'from PIL import Image; img=Image.open(\"/usr/comma/bg.jpg\"); (img.rotate(180) if open(\"/sys/devices/platform/vendor/vendor:gpio-som-id/som_id\").read().strip() == \"1\" else img).save(\"/tmp/bg.jpg\")'"
ExecStartPre=/bin/bash -c "mkdir -p $XDG_RUNTIME_DIR"
ExecStartPre=/bin/bash -c "chown -R comma: $XDG_RUNTIME_DIR"
ExecStartPre=/bin/bash -c "chmod -R 700 $XDG_RUNTIME_DIR"
+1 -1
View File
@@ -1,4 +1,4 @@
[shell]
background-image=/usr/comma/bg.jpg
background-image=/tmp/bg.jpg
background-type=scale-crop
close-animation=none