30 lines
811 B
Nix
30 lines
811 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.pwas =
|
|
let
|
|
papirusIcon = app: "${pkgs.papirus-icon-theme}/share/icons/Papirus-Dark/16x16/apps/${app}.svg";
|
|
in
|
|
{
|
|
cinny = {
|
|
name = "Cinny";
|
|
url = "https://chat.lobotomise.me";
|
|
icon = papirusIcon "in.cinny.Cinny";
|
|
description = "Cinny, a Matrix client";
|
|
};
|
|
discord = {
|
|
name = "Discord";
|
|
url = "https://discord.com/app";
|
|
icon = papirusIcon "discord";
|
|
description = "Discord Web";
|
|
};
|
|
fb-messenger = {
|
|
name = "FB Messenger";
|
|
url = "https://m.me";
|
|
icon = papirusIcon "facebook-facebook.com.svg";
|
|
description = "Facebook Messenger";
|
|
};
|
|
};
|
|
xdg.mime.defaultApplications = {
|
|
"x-scheme-handler/matrix" = "Cinny-webapp.desktop";
|
|
};
|
|
}
|