all: update type names for quickshell revision
This commit is contained in:
parent
9437c6a840
commit
9838d79724
5 changed files with 13 additions and 13 deletions
21
wlogout/LogoutButton.qml
Normal file
21
wlogout/LogoutButton.qml
Normal file
|
@ -0,0 +1,21 @@
|
|||
import QtQuick
|
||||
import Quickshell.Io
|
||||
|
||||
QtObject {
|
||||
required property string command
|
||||
required property string text
|
||||
required property string icon
|
||||
property var keybind: null
|
||||
|
||||
id: button
|
||||
|
||||
readonly property var process: Process {
|
||||
command: ["sh", "-c", button.command]
|
||||
manageLifetime: false
|
||||
}
|
||||
|
||||
function exec() {
|
||||
process.running = true;
|
||||
Qt.quit();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue