OSDN Git Service

[update] : add calamares to favorite menu only for live
authorwatasuke102 <watasuke102@gmail.com>
Thu, 17 Jun 2021 06:05:15 +0000 (15:05 +0900)
committerwatasuke102 <watasuke102@gmail.com>
Thu, 17 Jun 2021 06:05:15 +0000 (15:05 +0900)
channels/plasma/airootfs.any/root/customize_airootfs_plasma.sh

index a13799d..a10c2e1 100755 (executable)
 # Delete icon cache
 remove "/home/${username}/.cache/icon-cache.kcache"
 
+# Add Calamares to favorite menu only for live
+sqlite3 "/home/${username}/.local/share/kactivitymanagerd/resources" \
+"INSERT INTO 'ResourceLink' VALUES \
+(':global', 'org.kde.plasma.favorites.applications', 'applications:calamares.desktop');"
+
 # Delete config file to disable free space notification only for live
 remove "/etc/skel/.config/plasmanotifyrc"