mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
joplin-desktop: correct WMClass
This allows GNOME sessions launching Joplin know which window belongs to that app.
This commit is contained in:
parent
4c15b16a1c
commit
bd3f055ed8
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ let
|
|||
install -Dm644 ${appimageContents}/joplin.desktop $out/share/applications/joplin.desktop
|
||||
install -Dm644 ${appimageContents}/joplin.png $out/share/pixmaps/joplin.png
|
||||
substituteInPlace $out/share/applications/joplin.desktop \
|
||||
--replace-fail StartupWMClass=Joplin StartupWMClass=@joplin/app-desktop \
|
||||
--replace-fail 'Exec=AppRun' 'Exec=joplin-desktop'
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue