File 0001-Change-paths-to-opt-kf5.patch of Package liquidshell
From 422f7ee7225619bfbcef5f6055a7d57d3ff75ee7 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wbauer@tmo.at>
Date: Fri, 13 Aug 2021 12:01:39 +0200
Subject: [PATCH] Change paths to /opt/kf5
---
start_liquidshell | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/start_liquidshell b/start_liquidshell
index e8e37ba..a878933 100644
--- a/start_liquidshell
+++ b/start_liquidshell
@@ -1,6 +1,9 @@
#!/bin/bash
# disable plasmashell and enable liquidshell instead
+# source KF5 environment
+. kf5.sh
+
if [ ${XDG_CONFIG_HOME} ]
then
configDir=$XDG_CONFIG_HOME;
@@ -8,7 +11,7 @@ else
configDir=${HOME}/.config; #this is the default, http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
fi
-if [ -f /etc/xdg/autostart/plasmashell.desktop ]
+if [ -f /opt/kf5/etc/xdg/autostart/plasmashell.desktop ]
then
plasmaFileName=$configDir/autostart/plasmashell.desktop
else
@@ -33,11 +36,11 @@ cat > $plasmaFileName <<EOF
Hidden=true
EOF
-if [ -f /usr/bin/startkde ]
+if [ -f /opt/kf5/bin/startkde ]
then
- /usr/bin/startkde
+ /opt/kf5/bin/startkde
else
- /usr/bin/startplasma-x11
+ /opt/kf5/bin/startplasma-x11
fi
rm -f $plasmaFileName
--
2.31.1