1
0
Fork 0

wlogout: fix breakages

This commit is contained in:
outfoxxed 2025-05-14 02:55:03 -07:00
parent 955bd1f8c1
commit bbb03fdd79
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 2 additions and 3 deletions

View file

@ -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();
}
}

View file

@ -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"