From ff822bf77cda2a395b15345d3431243ed28a47a0 Mon Sep 17 00:00:00 2001 From: Mikey Sklar Date: Wed, 29 Jan 2025 10:46:40 -0800 Subject: [PATCH] bookworm update effects adafruit-pitft.py Minor argument change to rapsi-config do_wayland setting. --- adafruit-pitft.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit-pitft.py b/adafruit-pitft.py index 122f2fd..aec0e6d 100644 --- a/adafruit-pitft.py +++ b/adafruit-pitft.py @@ -741,11 +741,11 @@ def disable_wayland(disable): return if disable: print("Using X11 instead of Wayland") - if not shell.run_command("sudo raspi-config nonint do_wayland 0"): + if not shell.run_command("sudo raspi-config nonint do_wayland W1"): shell.bail("Unable to disable Wayland") else: print("Using Wayland instead of X11") - if not shell.run_command("sudo raspi-config nonint do_wayland 1"): + if not shell.run_command("sudo raspi-config nonint do_wayland W2"): shell.bail("Unable to enable Wayland") ####################################################### MAIN