kde5.plasma-desktop: display desktop folder by default

Plasma 5 displays only a wallpaper on the desktop by default. I reason
that if the user wants an empty desktop, they can make ~/Desktop
empty. It's empty by default anyway.
This commit is contained in:
Thomas Tuegel 2016-11-13 12:33:38 -06:00
parent 456414c519
commit dc598510aa
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -38,4 +38,9 @@ plasmaPackage rec {
"-DEvdev_INCLUDE_DIRS=${xf86inputevdev.dev}/include/xorg"
"-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics.dev}/include/xorg"
];
postInstall = ''
# Display ~/Desktop contents on the desktop by default.
sed -i "$out/share/plasma/shells/org.kde.plasma.desktop/contents/defaults" \
-e 's/Containment=org.kde.desktopcontainment/Containment=org.kde.plasma.folder/'
'';
}