From 6caeb2125491af72efdb8d8d2021ad467db4e071 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 3 Sep 2026 03:40:18 +0530 Subject: feat: added desktop items for TUI apps with icons --- modules/office/calcurse/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'modules/office/calcurse') diff --git a/modules/office/calcurse/default.nix b/modules/office/calcurse/default.nix index 3296f95..18a863b 100644 --- a/modules/office/calcurse/default.nix +++ b/modules/office/calcurse/default.nix @@ -74,6 +74,23 @@ in config = lib.mkIf config.office.calcurse.enable ( lib.mkMerge [ { + home.file.".local/share/icons/hicolor/scalable/apps/calcurse.svg" = { + source = ../../../assets/icons/apps/calcurse.svg; + }; + + xdg.desktopEntries."calcurse" = { + name = "calcurse"; + exec = "${lib.getExe config.terminal.kitty.package} --class calcurse -e ${lib.getExe config.office.calcurse.package}"; + icon = "calcurse"; + categories = [ + "Office" + "Calendar" + ]; + comment = "Text-based calendar and scheduling application"; + terminal = false; + type = "Application"; + }; + home.packages = [ config.office.calcurse.package ]; xdg.configFile."calcurse/conf" = { source = ./conf; -- cgit v1.2.3