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 | |
| parent | d7b42cf03b93f48d17d0155d409df29ab4599b24 (diff) | |
| download | home-manager-config-e7803fd7ba4b6f6aca65f2228adf0f7f3e514bbb.tar.gz home-manager-config-e7803fd7ba4b6f6aca65f2228adf0f7f3e514bbb.zip | |
feat(communication/senpai): added desktop entry for senpai
| -rw-r--r-- | modules/communication/neomutt/mailcap | 2 | ||||
| -rw-r--r-- | modules/communication/senpai/default.nix | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/modules/communication/neomutt/mailcap b/modules/communication/neomutt/mailcap index 3af2794..cd47209 100644 --- a/modules/communication/neomutt/mailcap +++ b/modules/communication/neomutt/mailcap @@ -1,6 +1,6 @@ text/html; @@HTML_VIEWER@@ '%s'; nametemplate=%s.html image/*; xdg-open '%s' & -application/pdf; xdg-open '%s'; nametemplate=%s.pdf +application/*; xdg-open '%s' & video/*; xdg-open '%s' & audio/*; xdg-open '%s' & application/*; xdg-open '%s' & 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"; + }; }; } |
