Compare commits
2 commits
955bd1f8c1
...
69d5b7b480
Author | SHA1 | Date | |
---|---|---|---|
69d5b7b480 | |||
bbb03fdd79 |
3 changed files with 4 additions and 5 deletions
|
@ -24,8 +24,8 @@ ShellRoot {
|
|||
bottom: 50
|
||||
}
|
||||
|
||||
width: content.width
|
||||
height: content.height
|
||||
implicitWidth: content.width
|
||||
implicitHeight: content.height
|
||||
|
||||
color: "transparent"
|
||||
|
||||
|
|
|
@ -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