From e8fe4ef673ebb3bc89f192ad5dba0b6d54149f34 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 30 Apr 2025 13:49:05 +1000 Subject: feat: bar workspaces show windows Better hyprland clients (update existing instead of resetting every time) Option for ws trail Custom label for occupied ws as well --- modules/bar/components/workspaces/ActiveIndicator.qml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'modules/bar/components/workspaces/ActiveIndicator.qml') diff --git a/modules/bar/components/workspaces/ActiveIndicator.qml b/modules/bar/components/workspaces/ActiveIndicator.qml index 027b575..f8b0deb 100644 --- a/modules/bar/components/workspaces/ActiveIndicator.qml +++ b/modules/bar/components/workspaces/ActiveIndicator.qml @@ -71,16 +71,34 @@ Rectangle { } Behavior on leading { + enabled: BarConfig.workspaces.activeTrail + Anim {} } Behavior on trailing { + enabled: BarConfig.workspaces.activeTrail + Anim { duration: Appearance.anim.durations.normal * 2 } } Behavior on currentSize { + enabled: BarConfig.workspaces.activeTrail + + Anim {} + } + + Behavior on offset { + enabled: !BarConfig.workspaces.activeTrail + + Anim {} + } + + Behavior on size { + enabled: !BarConfig.workspaces.activeTrail + Anim {} } -- cgit v1.2.3-freya