tribler: add StartupWMClass for .desktop file
This commit is contained in:
parent
b5d5cc769d
commit
a8d02413d7
@ -29,6 +29,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-fQJOs9P4y71De/+svmD7YZ4+tm/bC3rspm7SbOHlSR4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./startupwmclass.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.wrapPython
|
||||
makeWrapper
|
||||
|
9
pkgs/by-name/tr/tribler/startupwmclass.patch
Normal file
9
pkgs/by-name/tr/tribler/startupwmclass.patch
Normal file
@ -0,0 +1,9 @@
|
||||
diff --git a/build/debian/tribler/usr/share/applications/org.tribler.Tribler.desktop b/build/debian/tribler/usr/share/applications/org.tribler.Tribler.desktop
|
||||
index b0472a18d..0e0be14f3 100644
|
||||
--- a/build/debian/tribler/usr/share/applications/org.tribler.Tribler.desktop
|
||||
+++ b/build/debian/tribler/usr/share/applications/org.tribler.Tribler.desktop
|
||||
@@ -7,3 +7,4 @@ Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;Network;P2P
|
||||
MimeType=x-scheme-handler/ppsp;x-scheme-handler/tswift;x-scheme-handler/magnet;application/x-bittorrent
|
||||
+StartupWMClass=Tribler
|
Loading…
x
Reference in New Issue
Block a user