aboutsummaryrefslogtreecommitdiffstats
path: root/modules/communication/senpai/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/communication/senpai/default.nix')
-rw-r--r--modules/communication/senpai/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/communication/senpai/default.nix b/modules/communication/senpai/default.nix
index 51fc041..274e4d7 100644
--- a/modules/communication/senpai/default.nix
+++ b/modules/communication/senpai/default.nix
@@ -53,5 +53,23 @@
];
};
};
+
+ xdg.desktopEntries."senpai" = {
+ name = "Senpai";
+ exec = "${lib.getExe config.terminal.kitty.package} --class senpai -e ${lib.getExe config.communication.senpai.package}";
+ icon = "senpai";
+ categories = [
+ "Network"
+ "Chat"
+ ];
+ comment = "Senpai TUI IRC Client";
+ terminal = false;
+ type = "Application";
+ };
+
+ xdg.mimeApps.defaultApplications = {
+ "x-scheme-handler/irc" = "senpai.desktop";
+ "x-scheme-handler/ircs" = "senpai.desktop";
+ };
};
}