Cool pill lookin thing idk

This commit is contained in:
2026-06-09 16:11:00 +01:00
parent ed3479b537
commit 3ac5947251
9 changed files with 314 additions and 1 deletions

50
Bar.qml Normal file
View File

@@ -0,0 +1,50 @@
import Quickshell
import Quickshell.Hyprland
import QtQuick
import "Components/Color.js" as Colors
import "Components"
import "Components/Pill"
Scope {
Variants {
model: Quickshell.screens
delegate: Component {
PanelWindow {
id: win
required property var modelData
screen: modelData
Behavior on implicitHeight {
NumberAnimation { duration: 0; easing.type: Easing.InOutQuad }
}
property HyprlandMonitor monitor: Hyprland.monitorFor(modelData)
color: "transparent"
exclusionMode: ExclusionMode.Normal
mask: Region {
item: container
}
anchors {
top: true
left: true
right: true
}
implicitHeight: 1000
exclusiveZone: 15
Pill {
id: container
monitor: win.monitor
}
}
}
}
}