mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
18 lines
434 B
Nix
18 lines
434 B
Nix
{
|
|
makeDesktopItem,
|
|
qq,
|
|
}:
|
|
makeDesktopItem {
|
|
name = "qq";
|
|
desktopName = "QQ";
|
|
exec = "${qq}/bin/qq %U";
|
|
terminal = false;
|
|
# To find the icon name(nushell):
|
|
# let p = NIXPKGS_ALLOW_UNFREE=1 nix eval --impure nixpkgs#qq.outPath | str trim --char '"'
|
|
# tree $"($p)/share/icons"
|
|
icon = "${qq}/share/icons/hicolor/512x512/apps/qq.png";
|
|
type = "Application";
|
|
categories = [ "Network" ];
|
|
comment = "QQ boxed";
|
|
}
|