removed eww and waybar added quickshell

This commit is contained in:
samantha42
2026-05-18 08:19:40 +02:00
parent f7d6f07e3a
commit 36ee6f35da
36 changed files with 713 additions and 1657 deletions

34
quickshell/StatPill.qml Normal file
View File

@@ -0,0 +1,34 @@
import QtQuick
// Generic stat pill matches eww stat-pill
Rectangle {
id: root
property string text: ""
property bool clickable: false
signal clicked()
signal rightClicked()
implicitWidth: lbl.implicitWidth + 16
implicitHeight: 22
radius: 11 // fully rounded pill
color: "#313244"
Text {
id: lbl
anchors.centerIn: parent
text: root.text
color: "#cdd6f4"
font.pixelSize: 12
font.family: "monospace"
}
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: (mouse) => {
if (mouse.button === Qt.RightButton) root.rightClicked()
else root.clicked()
}
cursorShape: root.clickable ? Qt.PointingHandCursor : Qt.ArrowCursor
}
}