pratham-setup: better handle KDE support for systemd-boot
This commit is contained in:
parent
6e5d835a68
commit
67e0953c57
|
@ -29,7 +29,11 @@ fi
|
||||||
# apply a fix for KDE preventing shutdown/reboots
|
# apply a fix for KDE preventing shutdown/reboots
|
||||||
# this is because I am using systemd-boot instead of GRUB/something else
|
# 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
|
# 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
|
# SSH KEYS
|
||||||
|
|
Loading…
Reference in New Issue