forked from mirrors/nixpkgs
element-desktop: associate with element:// links (#106750)
This commit is contained in:
parent
170065c92d
commit
3043fe5b84
|
@ -60,7 +60,7 @@ in mkYarnPackage rec {
|
|||
# https://github.com/vector-im/riot-desktop/blob/develop/package.json
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "element-desktop";
|
||||
exec = executableName;
|
||||
exec = "${executableName} %u";
|
||||
icon = "element";
|
||||
desktopName = "Element (Riot)";
|
||||
genericName = "Matrix Client";
|
||||
|
@ -68,6 +68,7 @@ in mkYarnPackage rec {
|
|||
categories = "Network;InstantMessaging;Chat;";
|
||||
extraEntries = ''
|
||||
StartupWMClass=element
|
||||
MimeType=x-scheme-handler/element;
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue