From 454800007714ed8a1d5af86f69fbbe0b2614ed20 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 27 Apr 2025 20:55:41 +0200 Subject: [PATCH] fix indentation --- .config/quickshell/modules/bar/Workspaces.qml | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.config/quickshell/modules/bar/Workspaces.qml b/.config/quickshell/modules/bar/Workspaces.qml index afb2c1ebc..01edc014f 100644 --- a/.config/quickshell/modules/bar/Workspaces.qml +++ b/.config/quickshell/modules/bar/Workspaces.qml @@ -220,45 +220,45 @@ Item { anchors.centerIn: parent width: workspaceButtonWidth height: workspaceButtonWidth - IconImage { - id: mainAppIcon - anchors.bottom: parent.bottom - anchors.right: parent.right - anchors.bottomMargin: (!GlobalStates.workspaceShowNumbers && !ConfigOptions.bar.workspaces.alwaysShowNumbers) ? - (workspaceButtonWidth - workspaceIconSize) / 2 : workspaceIconMarginShrinked - anchors.rightMargin: (!GlobalStates.workspaceShowNumbers && !ConfigOptions.bar.workspaces.alwaysShowNumbers) ? - (workspaceButtonWidth - workspaceIconSize) / 2 : workspaceIconMarginShrinked + IconImage { + id: mainAppIcon + anchors.bottom: parent.bottom + anchors.right: parent.right + anchors.bottomMargin: (!GlobalStates.workspaceShowNumbers && !ConfigOptions.bar.workspaces.alwaysShowNumbers) ? + (workspaceButtonWidth - workspaceIconSize) / 2 : workspaceIconMarginShrinked + anchors.rightMargin: (!GlobalStates.workspaceShowNumbers && !ConfigOptions.bar.workspaces.alwaysShowNumbers) ? + (workspaceButtonWidth - workspaceIconSize) / 2 : workspaceIconMarginShrinked - opacity: (workspaceButtonBackground.biggestWindow && !GlobalStates.workspaceShowNumbers && !ConfigOptions.bar.workspaces.alwaysShowNumbers) ? - 1 : workspaceButtonBackground.biggestWindow ? workspaceIconOpacityShrinked : 0 - source: workspaceButtonBackground.mainAppIconSource - implicitSize: (!GlobalStates.workspaceShowNumbers && !ConfigOptions.bar.workspaces.alwaysShowNumbers) ? workspaceIconSize : workspaceIconSizeShrinked + opacity: (workspaceButtonBackground.biggestWindow && !GlobalStates.workspaceShowNumbers && !ConfigOptions.bar.workspaces.alwaysShowNumbers) ? + 1 : workspaceButtonBackground.biggestWindow ? workspaceIconOpacityShrinked : 0 + source: workspaceButtonBackground.mainAppIconSource + implicitSize: (!GlobalStates.workspaceShowNumbers && !ConfigOptions.bar.workspaces.alwaysShowNumbers) ? workspaceIconSize : workspaceIconSizeShrinked - Behavior on opacity { - NumberAnimation { - duration: Appearance.animation.elementDecelFast.duration - easing.type: Appearance.animation.elementDecelFast.type + Behavior on opacity { + NumberAnimation { + duration: Appearance.animation.elementDecelFast.duration + easing.type: Appearance.animation.elementDecelFast.type + } + } + Behavior on anchors.bottomMargin { + NumberAnimation { + duration: Appearance.animation.elementDecelFast.duration + easing.type: Appearance.animation.elementDecelFast.type + } + } + Behavior on anchors.rightMargin { + NumberAnimation { + duration: Appearance.animation.elementDecelFast.duration + easing.type: Appearance.animation.elementDecelFast.type + } + } + Behavior on implicitSize { + NumberAnimation { + duration: Appearance.animation.elementDecelFast.duration + easing.type: Appearance.animation.elementDecelFast.type + } } } - Behavior on anchors.bottomMargin { - NumberAnimation { - duration: Appearance.animation.elementDecelFast.duration - easing.type: Appearance.animation.elementDecelFast.type - } - } - Behavior on anchors.rightMargin { - NumberAnimation { - duration: Appearance.animation.elementDecelFast.duration - easing.type: Appearance.animation.elementDecelFast.type - } - } - Behavior on implicitSize { - NumberAnimation { - duration: Appearance.animation.elementDecelFast.duration - easing.type: Appearance.animation.elementDecelFast.type - } - } - } } }