Skip to content

Commit a871c46

Browse files
committed
chore: remove old way to modify panel pinned apps
Plasma 6.6 changed the way this is done, this config file doesn't exist anymore See: get-aurora-dev/common#118 https://bugs.kde.org/show_bug.cgi?id=511560
1 parent 52e8241 commit a871c46

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

build_files/base/16-override-install.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@ rm -rf /usr/share/doc/HTML
2121
# BASE IMAGE CHANGES
2222
# ######
2323

24-
# sets default/pinned applications on the taskmanager applet on the panel, there is no nice way to do this
25-
# https://bugs.kde.org/show_bug.cgi?id=511560
26-
# TODO: KDE 6.6 dropped this file, find out some other way to set these
27-
PANEL_CONF="/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/config/main.xml"
28-
29-
if [[ -f "${PANEL_CONF}" ]]; then
30-
sed -i '/<entry name="launchers" type="StringList">/,/<\/entry>/ s/<default>[^<]*<\/default>/<default>preferred:\/\/browser,applications:org.gnome.Ptyxis.desktop,applications:io.github.kolunmi.Bazaar.desktop,preferred:\/\/filemanager<\/default>/' "${PANEL_CONF}"
31-
fi
32-
3324
# Hide Discover entries by renaming them (allows for easy re-enabling)
3425
discover_apps=(
3526
"org.kde.discover.desktop"

0 commit comments

Comments
 (0)