Disable user config by default.

This commit is contained in:
dabruh 2022-05-28 23:12:06 +02:00
parent 98abd103c0
commit 276aaad9bf
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,7 @@ function get_packages() {
function configure_sddm() { function configure_sddm() {
local sddm_config_dir="/etc/sddm.conf.d" local sddm_config_dir="/etc/sddm.conf.d"
local theme_dir="/usr/share/sddm/themes/aerial"
echo "Setting up '$sddm_config_dir'." echo "Setting up '$sddm_config_dir'."
@ -77,6 +78,9 @@ function configure_sddm() {
echo "[X11]" echo "[X11]"
echo "DisplayCommand=/usr/share/sddm/scripts/Xsetup" echo "DisplayCommand=/usr/share/sddm/scripts/Xsetup"
} | sudo tee "$sddm_config_dir/xsetup" >/dev/null } | 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() { function prepare_arch() {