mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
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:
parent
456414c519
commit
dc598510aa
|
@ -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/'
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue