From c3c245c7633885f6860191eede646d048def3e0d Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sun, 20 Sep 2026 02:27:37 +0530 Subject: feat(system/btop): add desktop entry for btop --- modules/communication/senpai/default.nix | 2 +- modules/system/btop/default.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/modules/communication/senpai/default.nix b/modules/communication/senpai/default.nix index 274e4d7..57a921a 100644 --- a/modules/communication/senpai/default.nix +++ b/modules/communication/senpai/default.nix @@ -54,7 +54,7 @@ }; }; - xdg.desktopEntries."senpai" = { + xdg.desktopEntries."senpai" = lib.mkIf config.terminal.kitty.enable { name = "Senpai"; exec = "${lib.getExe config.terminal.kitty.package} --class senpai -e ${lib.getExe config.communication.senpai.package}"; icon = "senpai"; diff --git a/modules/system/btop/default.nix b/modules/system/btop/default.nix index 5375a5b..1f9a8d6 100644 --- a/modules/system/btop/default.nix +++ b/modules/system/btop/default.nix @@ -26,5 +26,19 @@ enable = true; package = config.system.btop.package; }; + + xdg.desktopEntries."btop" = lib.mkIf config.terminal.kitty.enable { + name = "btop++"; + exec = "${lib.getExe config.terminal.kitty.package} --class btop -e ${lib.getExe config.system.btop.package}"; + icon = "btop"; + categories = [ + "System" + "Monitor" + "ConsoleOnly" + ]; + comment = "Cross-platform graphical process and system monitor"; + terminal = false; + type = "Application"; + }; }; } -- cgit v1.2.3