wlogout: fix breakages
This commit is contained in:
parent
955bd1f8c1
commit
bbb03fdd79
2 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue