diff options
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/btop/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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"; + }; }; } |
