1
0
Fork 0

all: update type names for quickshell revision

This commit is contained in:
outfoxxed 2024-03-11 06:01:19 -07:00
parent 9437c6a840
commit 9838d79724
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 13 additions and 13 deletions

21
wlogout/LogoutButton.qml Normal file
View 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();
}
}