Added wlogout

This commit is contained in:
Honney
2026-05-31 14:18:35 +02:00
parent 16f88dc617
commit 64c007ba3f
6 changed files with 242 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import QtQuick
import Quickshell.Io
QtObject {
required property string command
required property string text
required property string icon
required property string icon_text
property var keybind: null
id: button
readonly property var process: Process {
command: ["sh", "-c", button.command]
}
function exec() {
process.startDetached();
console.log("Picked Logout Option, closing WLogout");
wlogoutLoader.active = false;
}
}