nova-shell/modules/Wlogout.qml
2026-04-12 00:49:58 +02:00

24 lines
426 B
QML

import QtQuick
import Quickshell.Io
import QtQuick.Controls
import "." as M
M.BarIcon {
icon: "\uF011"
Process {
id: proc
command: ["wlogout"]
}
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: proc.running = true
}
HoverHandler { id: hover }
ToolTip {
visible: hover.hovered
text: "Open logout menu"
}
}