aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules')
-rw-r--r--desktop/modules/perf/PerfModule.qml10
1 files changed, 10 insertions, 0 deletions
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