refactor(theme): refactor theme.js

- Added runPlayerAction wrapper function to eliminate duplicate
Spicetify player command try/catches.
- Added runGlitchByDist helper function to dry up distance calculation
logic across glitch animations (burstGlitch, pulseGlitch,
implosionGlitch, fuzzWaveGlitch).
This commit is contained in:
Damjan Antevski
2026-08-05 11:10:22 +02:00
parent 46899bff25
commit 48863986a3
+199 -444
View File
File diff suppressed because it is too large Load Diff