diff --git a/scripts/pratham-setup.sh b/scripts/pratham-setup.sh index 232183c..ade0e1a 100644 --- a/scripts/pratham-setup.sh +++ b/scripts/pratham-setup.sh @@ -29,7 +29,11 @@ fi # apply a fix for KDE preventing shutdown/reboots # this is because I am using systemd-boot instead of GRUB/something else # https://invent.kde.org/plasma/plasma-workspace/-/wikis/Plasma-and-the-systemd-boot -kwriteconfig5 --file startkderc --group General --key systemdBoot true +systemctl --user is-active --quiet service plasma-plasmashell.service +if [[ $? -ne 0 ]]; then + kwriteconfig5 --file startkderc --group General --key systemdBoot true + systemctl --user enable plasma-plasmashell.service +fi ################################################################################ # SSH KEYS