From fb37c8c8a22edfba889e07d986eb61ed2624b4f7 Mon Sep 17 00:00:00 2001 From: SomeElse Date: Sun, 17 May 2026 22:50:26 +0000 Subject: [PATCH] added config to change logo animation speed --- bar/modules/Logo.qml | 2 +- config/config.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bar/modules/Logo.qml b/bar/modules/Logo.qml index 2601657..844f45c 100644 --- a/bar/modules/Logo.qml +++ b/bar/modules/Logo.qml @@ -52,7 +52,7 @@ ModuleChip { rotation: root.spinTarget Behavior on rotation { NumberAnimation { - duration: 600 + duration: Cfg.Config.logoSpinDuration easing.type: Easing.InOutBack } } diff --git a/config/config.qml b/config/config.qml index b81eea6..d398770 100644 --- a/config/config.qml +++ b/config/config.qml @@ -32,6 +32,7 @@ QtObject { // ── Logo ───────────────────────────────────────────────────────────── property int logoIconSize: 23 // icon font size; container width scales with it property string logoIcon: "󱄅" // Nerd Font glyph for the logo + property int logoSpinDuration: 600 // spin animation duration in ms // ── Panel Styling ───────────────────────────────────────────────────────── property int panelBorderWidth: 1