Add animation speed slider in general tab, always collapse activeWindow

GeneralTab: add animation speed slider
Workspace: set activeWindow to always collapsed except for hover
Misc: replaced a lot of animations with Style.animationXYZ
This commit is contained in:
Ly-sec 2025-08-27 14:52:50 +02:00
parent 563a151277
commit 124d9becc6
7 changed files with 55 additions and 34 deletions

View file

@ -140,6 +140,8 @@ Singleton {
property bool dimDesktop: false
property bool showScreenCorners: false
property real radiusRatio: 1.0
// Animation speed multiplier (0.1x - 2.0x)
property real animationSpeed: 1.0
// Replace sidepanel toggle with distro logo (shown in bar and/or side panel)
property bool useDistroLogoForSidepanel: false
}

View file

@ -56,9 +56,9 @@ Singleton {
property real opacityFull: 1.0
// Animation duration (ms)
property int animationFast: 150
property int animationNormal: 300
property int animationSlow: 450
property int animationFast: Math.round(150 * Settings.data.general.animationSpeed)
property int animationNormal: Math.round(300 * Settings.data.general.animationSpeed)
property int animationSlow: Math.round(450 * Settings.data.general.animationSpeed)
// Dimensions
property int barHeight: 36