diff options
author | Chuang Zhu <git@chuang.cz> | 2022-06-16 12:16:06 +0800 |
---|---|---|
committer | Chuang Zhu <git@chuang.cz> | 2022-06-16 12:16:06 +0800 |
commit | bdf134d02e5d1ebb9d04b42712c86c106f262d29 (patch) | |
tree | 30e6d99a4aca990e38013ae323e13d27524f0fa8 /pkgs/applications/networking/instant-messengers/gotktrix | |
parent | 9bf1432121f8dae0b01a966cd3a4ae9d36402858 (diff) |
gotktrix: add desktop file
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/gotktrix')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/gotktrix/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/gotktrix/default.nix b/pkgs/applications/networking/instant-messengers/gotktrix/default.nix index 9cab98156c81c..bd0da749e0961 100644 --- a/pkgs/applications/networking/instant-messengers/gotktrix/default.nix +++ b/pkgs/applications/networking/instant-messengers/gotktrix/default.nix @@ -32,6 +32,12 @@ buildGoModule rec { # Checking requires a working display doCheck = false; + postInstall = '' + echo 'X-Purism-FormFactor=Workstation;Mobile;' >> .nix/com.github.diamondburned.gotktrix.desktop + install -Dm444 .nix/com.github.diamondburned.gotktrix.desktop -t $out/share/applications/ + install -Dm444 .github/logo-256.png -T $out/share/icons/hicolor/256x256/apps/gotktrix.png + ''; + meta = with lib; { description = "Matrix client written in Go using GTK4"; homepage = "https://github.com/diamondburned/gotktrix"; |