diff --git a/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HPowerButton.qml b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HPowerButton.qml new file mode 100644 index 000000000..0859cab2d --- /dev/null +++ b/dots/.config/quickshell/ii/modules/hefty/topLayer/bar/widgets/HPowerButton.qml @@ -0,0 +1,27 @@ +pragma ComponentBehavior: Bound +import QtQuick + +import qs +import qs.modules.common.widgets +import ".." + +HBarWidgetWithPopout { + id: root + + HBarWidgetContent { + id: contentRoot + vertical: root.vertical + atBottom: root.atBottom + contentImplicitWidth: symbol.implicitWidth + contentImplicitHeight: symbol.implicitHeight + showPopup: false + onClicked: GlobalStates.sessionOpen = true; + + MaterialSymbol { + id: symbol + anchors.centerIn: parent + iconSize: 20 + text: "power_settings_new" + } + } +}