mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
plank: hide launcher in pantheon
This commit is contained in:
parent
0a8eea28ed
commit
307ccf9dd1
@ -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"
|
||||
|
9
pkgs/applications/misc/plank/hide-in-pantheon.patch
Normal file
9
pkgs/applications/misc/plank/hide-in-pantheon.patch
Normal 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;
|
Loading…
Reference in New Issue
Block a user