From bbb03fdd79ea229d215d8d5a6e34a4e368c87930 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Wed, 14 May 2025 02:55:03 -0700 Subject: [PATCH 1/2] wlogout: fix breakages --- wlogout/LogoutButton.qml | 3 +-- wlogout/shell.qml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wlogout/LogoutButton.qml b/wlogout/LogoutButton.qml index 93f0100..cc8e3b3 100644 --- a/wlogout/LogoutButton.qml +++ b/wlogout/LogoutButton.qml @@ -11,11 +11,10 @@ QtObject { readonly property var process: Process { command: ["sh", "-c", button.command] - manageLifetime: false } function exec() { - process.running = true; + process.startDetached(); Qt.quit(); } } diff --git a/wlogout/shell.qml b/wlogout/shell.qml index 777b3ab..178d133 100644 --- a/wlogout/shell.qml +++ b/wlogout/shell.qml @@ -4,7 +4,7 @@ import Quickshell ShellRoot { WLogout { LogoutButton { - command: "loginctl lock-screen" + command: "loginctl lock-session" keybind: Qt.Key_K text: "Lock" icon: "lock" From 69d5b7b480c6a136659d1263dabf31570a391e56 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Wed, 14 May 2025 02:55:03 -0700 Subject: [PATCH 2/2] activate-linux: use implicit size --- activate_linux/shell.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activate_linux/shell.qml b/activate_linux/shell.qml index 101fa1a..d5e442e 100644 --- a/activate_linux/shell.qml +++ b/activate_linux/shell.qml @@ -24,8 +24,8 @@ ShellRoot { bottom: 50 } - width: content.width - height: content.height + implicitWidth: content.width + implicitHeight: content.height color: "transparent"