Skip to main content

Configuration Reference

Spicetify stores its configuration in config-xpui.ini. This page documents all available options.

File Location​

PlatformPath
Windows%appdata%\spicetify\config-xpui.ini
Linux / macOS~/.config/spicetify/config-xpui.ini

To find the exact path:

spicetify -c

To open the config folder:

spicetify config-dir

Editing Configuration​

spicetify config <key> <value>
spicetify apply

Examples:

# Set a theme
spicetify config current_theme Sleek

# Add an extension
spicetify config extensions fullAppDisplay.js

# Remove an extension (note the trailing -)
spicetify config extensions fullAppDisplay.js-

# Set multiple values at once
spicetify config current_theme Sleek color_scheme Dark

Via Direct File Editing​

Open config-xpui.ini in any text editor, make changes, save, then run:

spicetify apply

Configuration Sections​

[Setting]​

Core paths and settings.

KeyDescriptionExample
spotify_pathPath to Spotify installation/opt/spotify
prefs_pathPath to Spotify's prefs file~/.config/spotify/prefs
spotify_launch_flagsFlags passed when launching Spotify--remote-debugging-port=9222
check_spicetify_upgradeCheck for Spicetify updates on startup1 (enabled)

[Preprocesses]​

Control CSS/color injection.

KeyDescriptionDefault
disable_sentryDisable Spotify's error reporting1
disable_ui_loggingDisable UI telemetry1
remove_rtl_ruleRemove right-to-left CSS rules1
expose_apisExpose Spicetify APIs to extensions1

[AdditionalOptions]​

Theme and add-on configuration.

KeyDescriptionExample
current_themeActive theme folder nameSleek
color_schemeColor scheme within current themeDark
extensionsEnabled extensions (pipe-separated)fullAppDisplay.js|trashbin.js
custom_appsEnabled custom apps (pipe-separated)reddit|lyrics-plus
inject_cssInject theme CSS1
inject_theme_jsInject theme JavaScript (if present)1
replace_colorsApply theme colors1
overwrite_assetsAllow themes to replace assets0
sidebar_configSidebar customization (auto-generated)-
home_configHomepage customization (auto-generated)-

[Patch]​

Low-level patches. Usually leave these alone.

KeyDescriptionDefault
xpui.js_find_8008Enable specific patchingVaries
xpui.js_repl_8008Replacement value for patchVaries

Common Tasks​

See All Current Settings​

spicetify config

Reset to Defaults​

spicetify restore

This removes Spicetify modifications from Spotify but keeps your config file.

Backup Current State​

spicetify backup

Creates a backup of vanilla Spotify that can be restored later.

Full Reset​

To completely start fresh:

spicetify restore
rm ~/.config/spicetify/config-xpui.ini # Linux/macOS
# or on Windows: del %appdata%\spicetify\config-xpui.ini
spicetify

Running spicetify with no config file regenerates the default configuration.


Getting Help​

For detailed help on any config option:

spicetify --help config

For all available commands:

spicetify --help