diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-20 00:43:50 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-20 00:43:50 +0530 |
| commit | e7803fd7ba4b6f6aca65f2228adf0f7f3e514bbb (patch) | |
| tree | 4d440ee9be106599308e37b299fc6fea04018ba5 /modules/communication/senpai/default.nix | |
| parent | d7b42cf03b93f48d17d0155d409df29ab4599b24 (diff) | |
| download | home-manager-config-e7803fd7ba4b6f6aca65f2228adf0f7f3e514bbb.tar.gz home-manager-config-e7803fd7ba4b6f6aca65f2228adf0f7f3e514bbb.zip | |
feat(communication/senpai): added desktop entry for senpai
Diffstat (limited to 'modules/communication/senpai/default.nix')
| -rw-r--r-- | modules/communication/senpai/default.nix | 18 |
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"; + }; }; } |
