bookworm update effects adafruit-pitft.py
Minor argument change to rapsi-config do_wayland setting.
This commit is contained in:
parent
a68ef4b415
commit
ff822bf77c
1 changed files with 2 additions and 2 deletions
|
|
@ -741,11 +741,11 @@ def disable_wayland(disable):
|
||||||
return
|
return
|
||||||
if disable:
|
if disable:
|
||||||
print("Using X11 instead of Wayland")
|
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")
|
shell.bail("Unable to disable Wayland")
|
||||||
else:
|
else:
|
||||||
print("Using Wayland instead of X11")
|
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")
|
shell.bail("Unable to enable Wayland")
|
||||||
|
|
||||||
####################################################### MAIN
|
####################################################### MAIN
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue