clean
This commit is contained in:
56
Bar.qml
56
Bar.qml
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user