From edb0e04404e8d0ba0416edc53a12382012c69008 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 1 Jun 2024 15:50:23 -0700 Subject: [PATCH] Only configure org.gnome.Shell@wayland on desktop Signed-off-by: Tommy --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 579efba..41aecf7 100644 --- a/install.sh +++ b/install.sh @@ -386,8 +386,10 @@ unpriv curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/sys unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf | tee /mnt/etc/security/limits.d/30-disable-coredump.conf # Disable XWayland -mkdir -p /mnt/etc/systemd/user/org.gnome.Shell@wayland.service.d -unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/user/org.gnome.Shell%40wayland.service.d/override.conf | tee /mnt/etc/systemd/user/org.gnome.Shell@wayland.service.d/override.conf +if [ "${install_mode}" = 'desktop' ]; then + mkdir -p /mnt/etc/systemd/user/org.gnome.Shell@wayland.service.d + unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/user/org.gnome.Shell%40wayland.service.d/override.conf | tee /mnt/etc/systemd/user/org.gnome.Shell@wayland.service.d/override.conf +fi # Setup dconf