implemented power menu

This commit is contained in:
2025-10-09 16:19:55 +02:00
parent c14e5fcac2
commit 5eaf088e6d
2 changed files with 151 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import Quickshell
import QtQuick
Rectangle {
implicitWidth: 100
implicitHeight: 50
property bool active: false
property string icon: "?"
color: active
? "#5b6078" // Hover/focus color
: "#494d64" // Normal color
radius: 12
Text {
anchors.centerIn: parent
text: parent.icon
font.pointSize: 28
color: "#cad3f5"
}
}