nova-shell/modules/Wlogout.qml

18 lines
287 B
QML

import QtQuick
import Quickshell.Io
import "." as M
M.BarIcon {
icon: "\uF011"
Process {
id: proc
command: ["wlogout"]
}
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: proc.running = true
}
}