plank: hide launcher in pantheon
This commit is contained in:
@@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
|
|||||||
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
|
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Make plank's application launcher hidden in Pantheon
|
||||||
|
patches = [ ./hide-in-pantheon.patch ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace ./configure \
|
substituteInPlace ./configure \
|
||||||
--replace "/usr/bin/file" "${file}/bin/file"
|
--replace "/usr/bin/file" "${file}/bin/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;
|
||||||
Reference in New Issue
Block a user