From b2fd9aba5711a5863c8700c8b21c83c53e14b39d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 18 Oct 2026 10:49:37 +0200 Subject: perf: open btop in kitty from the page header The page shows a summary; btop is the full picture when the summary is not enough. The button sits in the header's actions slot, so it stays put while the panel scrolls, and closes the drawer on launch since the terminal takes over from there. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/perf/PerfModule.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'desktop') diff --git a/desktop/modules/perf/PerfModule.qml b/desktop/modules/perf/PerfModule.qml index e596f9a..5c55913 100644 --- a/desktop/modules/perf/PerfModule.qml +++ b/desktop/modules/perf/PerfModule.qml @@ -9,6 +9,7 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. +import Quickshell import QtQuick import "../.." @@ -50,7 +51,16 @@ Module { page: Component { Page { + id: pg title: "Performance" + // The full picture, for when the summary is not enough. fa-terminal. + actions: Component { + Button { + icon: "\uf120" + text: "btop" + onClicked: { Quickshell.execDetached(["kitty", "btop"]); pg.dismiss(); } + } + } PerfPanel { width: parent.width -- cgit v1.2.3