Skip to content

Commit 85d4678

Browse files
committed
fix: set pinned apps in panel past Plasma 6.6
1 parent 621d072 commit 85d4678

6 files changed

Lines changed: 16 additions & 20 deletions

File tree

build_files/build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ run_parallel \
9797
/ctx/build_files/60-teamviewer.sh \
9898
/ctx/build_files/60-kernel.sh
9999

100-
# Favorites in Kickoff
101-
sed -i '/<entry name="launchers" type="StringList">/,/<\/entry>/ s/<default>[^<]*<\/default>/<default>preferred:\/\/browser,preferred:\/\/filemanager<\/default>/' /usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml
102-
103100
# Starship prompt
104101
rm -f /etc/skel/.config/starship.toml
105102
sed -i '/^eval "$(starship init bash)"$/d' /etc/bashrc # they might remove this soon

build_files/tests.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ sbverify --list /usr/lib/modules/*/vmlinuz | grep -qF '/C=PL/L=Krakow/O=Instytut
1515

1616
xmllint --noout \
1717
/usr/share/backgrounds/default.xml \
18-
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml \
1918
/usr/lib/naps2/appsettings.xml \
2019
/usr/share/fontconfig/conf.avail/99-botany.conf
2120

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
loadTemplate("org.kde.plasma.desktop.defaultPanel");
2+
3+
for (const panel of panels()) {
4+
for (const widget of panel.widgets()) {
5+
if (widget.type === "org.kde.plasma.icontasks") {
6+
widget.currentConfigGroup = ["General"];
7+
widget.writeConfig("launchers", [
8+
"preferred://browser",
9+
"preferred://filemanager",
10+
]);
11+
widget.reloadConfig();
12+
}
13+
}
14+
}

system_files/usr/share/plasma/look-and-feel/pl.botany.desktop/contents/splash/Splash.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
import QtQuick
8-
import org.kde.kirigami 2 as Kirigami
8+
import org.kde.kirigami as Kirigami
99

1010
Rectangle {
1111
id: root

system_files/usr/share/plasma/look-and-feel/pl.botany.desktop/metadata.desktop

Lines changed: 0 additions & 15 deletions
This file was deleted.

system_files/usr/share/plasma/look-and-feel/pl.botany.desktop/metadata.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
"Website": "https://botany.pl"
2020
},
2121
"X-KDE-ParentApp": "",
22+
"X-Plasma-RootContainmentLayout": "org.kde.plasma.desktop-layout.js",
2223
"X-Plasma-MainScript": "defaults"
2324
}

0 commit comments

Comments
 (0)