diff options
| -rw-r--r-- | bar/Mpris.qml | 1 | ||||
| -rw-r--r-- | components/IText.qml | 6 | ||||
| -rw-r--r-- | config/Bar.qml | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/bar/Mpris.qml b/bar/Mpris.qml index 1e740ac..b87c003 100644 --- a/bar/Mpris.qml +++ b/bar/Mpris.qml @@ -68,6 +68,7 @@ Item { text: root.state } IText { + animate: true text: root.cleanedTitle } } diff --git a/components/IText.qml b/components/IText.qml index c854f74..916b867 100644 --- a/components/IText.qml +++ b/components/IText.qml @@ -7,10 +7,8 @@ Text { id: root property bool animate: false - property string animateProp: "scale" property real animateFrom: 0 property real animateTo: 1 - property int animateDuration: Style.anim.durations.normal renderType: Text.NativeRendering textFormat: Text.PlainText @@ -48,8 +46,8 @@ Text { component Anim: NumberAnimation { target: root - property: root.animateProp - duration: root.animateDuration / 2 + property: General.animateProp + duration: General.animateDuration / 4 easing.type: Easing.BezierSpline } } diff --git a/config/Bar.qml b/config/Bar.qml index 198ae4f..a038352 100644 --- a/config/Bar.qml +++ b/config/Bar.qml @@ -17,6 +17,8 @@ Singleton { readonly property int leftModuleSpacing: Style.spacing.smaller readonly property int rightModuleSpacing: Style.spacing.smaller + readonly property var windowStrip: [" — Zen Browser"] + readonly property int workspaces: 10 readonly property int workspaceIconSize: 32 readonly property int workspaceSpacing: 2 |
