Preserve environment while running dbus session

This commit is contained in:
Manuel Thalmann 2024-07-20 05:14:09 +02:00
parent 6898e3c26d
commit 3135643d3f

View file

@ -32,7 +32,7 @@ begin
end | sudo -u "$name" tee "$entryPoint" > /dev/null
sudo chmod +x "$entryPoint"
sudo -u "$name" dbus-launch --exit-with-session startplasma-wayland &> /dev/null
sudo -Eu "$name" dbus-launch --exit-with-session startplasma-wayland &> /dev/null
rm "$entryPoint"
rm ~"$name"/.config/plasma-welcomerc
else