Compare commits
No commits in common. "69d5b7b480c6a136659d1263dabf31570a391e56" and "955bd1f8c174f611b199fe332b5b02370a8cd74f" have entirely different histories.
69d5b7b480
...
955bd1f8c1
3 changed files with 5 additions and 4 deletions
|
@ -24,8 +24,8 @@ ShellRoot {
|
||||||
bottom: 50
|
bottom: 50
|
||||||
}
|
}
|
||||||
|
|
||||||
implicitWidth: content.width
|
width: content.width
|
||||||
implicitHeight: content.height
|
height: content.height
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,11 @@ QtObject {
|
||||||
|
|
||||||
readonly property var process: Process {
|
readonly property var process: Process {
|
||||||
command: ["sh", "-c", button.command]
|
command: ["sh", "-c", button.command]
|
||||||
|
manageLifetime: false
|
||||||
}
|
}
|
||||||
|
|
||||||
function exec() {
|
function exec() {
|
||||||
process.startDetached();
|
process.running = true;
|
||||||
Qt.quit();
|
Qt.quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ import Quickshell
|
||||||
ShellRoot {
|
ShellRoot {
|
||||||
WLogout {
|
WLogout {
|
||||||
LogoutButton {
|
LogoutButton {
|
||||||
command: "loginctl lock-session"
|
command: "loginctl lock-screen"
|
||||||
keybind: Qt.Key_K
|
keybind: Qt.Key_K
|
||||||
text: "Lock"
|
text: "Lock"
|
||||||
icon: "lock"
|
icon: "lock"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue