This commit is contained in:
2026-03-30 16:27:20 -05:00
parent 7a15a983af
commit 888a607ff7
6 changed files with 257 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ import Quickshell.Services.Pipewire
ScrollView {
Flickable {
//anchors.fill: parent
required property list<string> hyprcmds
@@ -18,7 +18,23 @@ ScrollView {
property string dir: "/home/nathan/Pictures/Wallpaper/"
ScrollBar.horizontal.policy: ScrollBar.AlwaysOn
implicitHeight: lay.height
implicitWidth: 750
interactive: true
contentWidth: lay.width
flickDeceleration: 5000
contentX: 100
WheelHandler {
target: root
//property: "contentX"
onWheel: {
console.log("test")
}
}
Process {
id: ls
@@ -33,12 +49,16 @@ ScrollView {
}
RowLayout {
id: lay
Repeater {
id: rep
model: 0
WrapperMouseArea {
onWheel: (e) => {
root.flick(e.angleDelta.y * 15, 0)
}
ClippingWrapperRectangle {
radius: 10
implicitWidth: 192 * 2; implicitHeight: 108 * 2