From 276aaad9bffe8eb48a5d4c58055152005263b7cc Mon Sep 17 00:00:00 2001 From: dabruh <11458706-dabruh@users.noreply.gitlab.com> Date: Sat, 28 May 2022 23:12:06 +0200 Subject: [PATCH] Disable user config by default. --- setup_system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup_system.sh b/setup_system.sh index 4103379..034309b 100755 --- a/setup_system.sh +++ b/setup_system.sh @@ -60,6 +60,7 @@ function get_packages() { function configure_sddm() { local sddm_config_dir="/etc/sddm.conf.d" + local theme_dir="/usr/share/sddm/themes/aerial" echo "Setting up '$sddm_config_dir'." @@ -77,6 +78,9 @@ function configure_sddm() { echo "[X11]" echo "DisplayCommand=/usr/share/sddm/scripts/Xsetup" } | sudo tee "$sddm_config_dir/xsetup" >/dev/null + + echo "Setting up '$theme_dir'." + mv "$theme_dir/theme.conf.user" "$theme_dir/theme.conf.user.disabled" } function prepare_arch() {