diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-09 10:45:29 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2018-12-09 10:45:29 -0500 |
commit | 307ccf9dd16138b17928da3dcf32008333be7672 (patch) | |
tree | 021c9a023bc03026f10c596d46c3caa65d6b2f36 /pkgs/applications/misc/plank | |
parent | 0a8eea28ed46f56c44c68d67e5aad7820d3956e4 (diff) |
plank: hide launcher in pantheon
Diffstat (limited to 'pkgs/applications/misc/plank')
-rw-r--r-- | pkgs/applications/misc/plank/default.nix | 3 | ||||
-rw-r--r-- | pkgs/applications/misc/plank/hide-in-pantheon.patch | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/misc/plank/default.nix b/pkgs/applications/misc/plank/default.nix index f9291117ed4cc..626e400eac4b3 100644 --- a/pkgs/applications/misc/plank/default.nix +++ b/pkgs/applications/misc/plank/default.nix @@ -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" diff --git a/pkgs/applications/misc/plank/hide-in-pantheon.patch b/pkgs/applications/misc/plank/hide-in-pantheon.patch new file mode 100644 index 0000000000000..ab8a4c723897d --- /dev/null +++ b/pkgs/applications/misc/plank/hide-in-pantheon.patch @@ -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; |