mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02:00
18 lines
482 B
Nix
18 lines
482 B
Nix
{
|
|
makeDesktopItem,
|
|
wechat-uos,
|
|
}:
|
|
makeDesktopItem {
|
|
name = "wechat";
|
|
desktopName = "WeChat";
|
|
exec = "wechat-uos %U";
|
|
terminal = false;
|
|
# To find the icon name(nushell):
|
|
# let p = NIXPKGS_ALLOW_UNFREE=1 nix eval --impure nixpkgs#wechat-uos.outPath | str trim --char '"'
|
|
# tree $"($p)/share/icons"
|
|
icon = "${wechat-uos}/share/icons/hicolor/256x256/apps/com.tencent.wechat.png";
|
|
type = "Application";
|
|
categories = ["Network"];
|
|
comment = "Wechat boxed";
|
|
}
|