diff --git a/dots/.config/quickshell/ii/modules/waffle/bar/AppButton.qml b/dots/.config/quickshell/ii/modules/waffle/bar/AppButton.qml index dbb430b6d..e29c13a44 100644 --- a/dots/.config/quickshell/ii/modules/waffle/bar/AppButton.qml +++ b/dots/.config/quickshell/ii/modules/waffle/bar/AppButton.qml @@ -17,10 +17,12 @@ BarButton { rightInset: 2 implicitWidth: height - topInset - bottomInset + leftInset + rightInset + property real pressedScale: 5/6 + onDownChanged: { scaleAnim.duration = root.down ? 150 : 200 scaleAnim.easing.bezierCurve = root.down ? Looks.transition.easing.bezierCurve.easeIn : Looks.transition.easing.bezierCurve.easeOut - contentItem.scale = root.down ? 5/6 : 1 // If/When we do dragging, the scale is 1.25 + contentItem.scale = root.down ? root.pressedScale : 1 // If/When we do dragging, the scale is 1.25 } background: Item { diff --git a/dots/.config/quickshell/ii/modules/waffle/bar/TaskViewButton.qml b/dots/.config/quickshell/ii/modules/waffle/bar/TaskViewButton.qml index ac564b7dc..760c00608 100644 --- a/dots/.config/quickshell/ii/modules/waffle/bar/TaskViewButton.qml +++ b/dots/.config/quickshell/ii/modules/waffle/bar/TaskViewButton.qml @@ -10,6 +10,7 @@ AppButton { id: root iconName: (down && !checked) ? "task-view-pressed" : "task-view" + pressedScale: checked ? 5/6 : 1 separateLightDark: true checked: GlobalStates.overviewOpen