diff options
| -rw-r--r-- | modules/launcher/AppList.qml | 2 | ||||
| -rw-r--r-- | modules/notifications/Content.qml | 2 | ||||
| -rw-r--r-- | shell.qml | 1 | ||||
| -rw-r--r-- | widgets/StyledListView.qml | 17 |
4 files changed, 20 insertions, 2 deletions
diff --git a/modules/launcher/AppList.qml b/modules/launcher/AppList.qml index bbcb27f..db0e6d8 100644 --- a/modules/launcher/AppList.qml +++ b/modules/launcher/AppList.qml @@ -7,7 +7,7 @@ import Quickshell import QtQuick import QtQuick.Controls -ListView { +StyledListView { id: root required property TextField search diff --git a/modules/notifications/Content.qml b/modules/notifications/Content.qml index 84df4c3..6f326c5 100644 --- a/modules/notifications/Content.qml +++ b/modules/notifications/Content.qml @@ -50,7 +50,7 @@ Item { color: "transparent" radius: Appearance.rounding.normal - ListView { + StyledListView { id: list model: ScriptModel { @@ -1,4 +1,5 @@ //@ pragma Env QS_NO_RELOAD_POPUP=1 +//@ pragma Env QT_QUICK_FLICKABLE_WHEEL_DECELERATION=10000 import "modules" import "modules/drawers" diff --git a/widgets/StyledListView.qml b/widgets/StyledListView.qml new file mode 100644 index 0000000..bb004fb --- /dev/null +++ b/widgets/StyledListView.qml @@ -0,0 +1,17 @@ +import "root:/config" +import QtQuick + +ListView { + id: root + + maximumFlickVelocity: 3000 + + rebound: Transition { + NumberAnimation { + properties: "x,y" + duration: Appearance.anim.durations.normal + easing.type: Easing.BezierSpline + easing.bezierCurve: Appearance.anim.curves.standard + } + } +} |