added config to change logo animation speed

This commit is contained in:
SomeElse
2026-05-17 22:50:26 +00:00
parent 1b7588578b
commit fb37c8c8a2
2 changed files with 2 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ ModuleChip {
rotation: root.spinTarget rotation: root.spinTarget
Behavior on rotation { Behavior on rotation {
NumberAnimation { NumberAnimation {
duration: 600 duration: Cfg.Config.logoSpinDuration
easing.type: Easing.InOutBack easing.type: Easing.InOutBack
} }
} }

View File

@@ -32,6 +32,7 @@ QtObject {
// ── Logo ───────────────────────────────────────────────────────────── // ── Logo ─────────────────────────────────────────────────────────────
property int logoIconSize: 23 // icon font size; container width scales with it property int logoIconSize: 23 // icon font size; container width scales with it
property string logoIcon: "󱄅" // Nerd Font glyph for the logo property string logoIcon: "󱄅" // Nerd Font glyph for the logo
property int logoSpinDuration: 600 // spin animation duration in ms
// ── Panel Styling ───────────────────────────────────────────────────────── // ── Panel Styling ─────────────────────────────────────────────────────────
property int panelBorderWidth: 1 property int panelBorderWidth: 1