plank: hide launcher in pantheon

This commit is contained in:
worldofpeace 2018-12-09 10:45:29 -05:00
parent 0a8eea28ed
commit 307ccf9dd1
2 changed files with 12 additions and 0 deletions

View File

@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
];
# Make plank's application launcher hidden in Pantheon
patches = [ ./hide-in-pantheon.patch ];
postPatch = ''
substituteInPlace ./configure \
--replace "/usr/bin/file" "${file}/bin/file"

View File

@ -0,0 +1,9 @@
diff --git a/data/plank.desktop.in b/data/plank.desktop.in
index 330c3a4..e1bdf5f 100644
--- a/data/plank.desktop.in
+++ b/data/plank.desktop.in
@@ -8,3 +8,4 @@ Exec=plank
Icon=plank
Terminal=false
NoDisplay=false
+NotShowIn=Pantheon;