This commit is contained in:
2026-06-13 20:53:00 +01:00
parent 1356456ab0
commit 6e84d0ca21
11 changed files with 2 additions and 730 deletions

56
Bar.qml
View File

@@ -4,8 +4,6 @@ import Quickshell
import Quickshell.Hyprland
import "Components/Color.js" as Colors
import "Components"
Scope {
Variants {
model: Quickshell.screens
@@ -19,67 +17,17 @@ Scope {
color: "transparent"
exclusionMode: ExclusionMode.Normal
exclusiveZone: 20
exclusiveZone: 15
implicitHeight: 1000
screen: modelData
Behavior on implicitHeight {
NumberAnimation {
duration: 0
easing.type: Easing.InOutQuad
}
}
mask: Region {
Region {
item: workspaceSwitcher
}
Region {
item: pillItem
}
Region {
item: utilsItem
}
}
mask: Region {}
anchors {
left: true
right: true
top: true
}
Workspace {
id: workspaceSwitcher
monitor: win.monitor
}
RectangularShadow {
anchors.fill: pillItem
blur: 20
color: Colors.crust
offset.x: 3
offset.y: 3
radius: pillItem.radius
spread: 7
}
Pill {
id: pillItem
monitor: win.monitor
}
Item {
anchors.fill: parent
Utils {
id: utilsItem
monitor: win.monitor
}
}
}
}
}