From 2503edadfcd86a4847b68a74814cf53fb3be8c5c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 24 Jul 2026 21:59:44 -0700 Subject: [PATCH] Jiggle active terminal alert indicator --- shell/plugins/bar/indicators/TmuxAlert.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/shell/plugins/bar/indicators/TmuxAlert.qml b/shell/plugins/bar/indicators/TmuxAlert.qml index 14a09e0d..dcb25eeb 100644 --- a/shell/plugins/bar/indicators/TmuxAlert.qml +++ b/shell/plugins/bar/indicators/TmuxAlert.qml @@ -38,6 +38,20 @@ BarIndicator { onTriggered: root.refresh() } + SequentialAnimation { + running: root.active + loops: Animation.Infinite + + PauseAnimation { duration: 2740 } + NumberAnimation { target: root; property: "textRotation"; to: -10; duration: 50; easing.type: Easing.OutQuad } + NumberAnimation { target: root; property: "textRotation"; to: 10; duration: 70; easing.type: Easing.InOutQuad } + NumberAnimation { target: root; property: "textRotation"; to: -7; duration: 55; easing.type: Easing.InOutQuad } + NumberAnimation { target: root; property: "textRotation"; to: 7; duration: 45; easing.type: Easing.InOutQuad } + NumberAnimation { target: root; property: "textRotation"; to: 0; duration: 40; easing.type: Easing.OutQuad } + + onStopped: root.textRotation = 0 + } + Connections { target: root.indicatorHost ignoreUnknownSignals: true