GitPedia

Background

The most advanced background image extension for VSCode

From KatsuteDev·Updated June 14, 2026·View on GitHub·

Background The most advanced background image extension for VSCode Windows + Mac + Linux The project is written primarily in TypeScript, distributed under the GNU General Public License v2.0 license, first published in 2022. Key topics include: background, background-image, backgrounds, extension, ide-theme.

Latest release: 6.0.0
June 4, 2026View Changelog →
<div id="top" align="center"> <br> <a href="https://github.com/KatsuteDev/Background#readme"> <img alt="logo" width="100" height="100" src="https://raw.githubusercontent.com/KatsuteDev/Background/main/assets/icon.png"> </a> <h3>Background</h3> <h4>The most advanced background image extension for VSCode</h4> <h5>Windows + Mac + Linux</h5> </div> <br>

Add multiple background images for the window, editors, sidebars, or the panel. Load backgrounds from file, glob, or URL. Transition between multiple background images.

<div align="center"> <img alt="editor background" src="https://raw.githubusercontent.com/KatsuteDev/Background/main/assets/editor.gif"> </div>

Installation

Customize using the <kbd>Background: Configuration</kbd> command or press the Background button in the bottom right to access the configuration menu.

Install using the <kbd>Background: Install</kbd> command or press the Install button in the configuration menu to install the background.

Features

Multiple Backgrounds

Add background images for the whole window, editors, sidebars, or the panel. Transition between multiple background images.

<div align="center"> <h6>Full Window</h6> <img src="https://raw.githubusercontent.com/KatsuteDev/Background/main/assets/window.gif"> </div> <br> <div align="center"> <h6>Editor, Sidebar, and Terminal</h6> <img src="https://raw.githubusercontent.com/KatsuteDev/Background/main/assets/editor.gif"> </div> <br> <div align="center"> <h6>Slideshow</h6> <img src="https://raw.githubusercontent.com/KatsuteDev/Background/main/assets/transition.gif"> </div>

Configuration Menu

Use the <kbd>Background: Configuration</kbd> command or press the Background button in the bottom right to access the configuration menu.

<div align="center"> <img src="https://raw.githubusercontent.com/KatsuteDev/Background/main/assets/configuration.gif"> </div>

Glob, URL, and Environment Variable Support

Add background images by file, folder, or URL. Supports glob and environment variables.

<div align="center"> <img src="https://raw.githubusercontent.com/KatsuteDev/Background/main/assets/glob.gif"> </div> <div align="right"><a href="#top"><code>▲</code></a></div>

Commands

CommandDescription
<kbd>Background: Install</kbd>Installs and enables the background
<kbd>Background: Uninstall</kbd>Uninstalls and disables the background
<kbd>Background: Reload</kbd>Randomizes the current background
<kbd>Background: Configuration</kbd>Opens the configuration menu
<kbd>Background: Changelog</kbd>Opens the changelog
<div align="right"><a href="#top"><code>▲</code></a></div>

Configuration

Use the <kbd>Background: Configuration</kbd> command or press the Background button in the bottom right to access the configuration menu.

BackgroundDescription
Window BackgroundsThe list of files or globs to use for the window background image
Editor BackgroundsThe list of files or globs to use for editor background images
Sidebar BackgroundsThe list of files or globs to use for the sidebar background images
Panel BackgroundsThe list of files or globs to use for the panel background image
Style OptionDescription
AlignmentBackground alignment
Alignment ValueBackground alignment (CSS)
BlurBackground blur (CSS)
OpacityBackground opacity, 1 is fully visible and 0 is invisible
RepeatBackground repeat
SizeBackground size
Size ValueBackground size (CSS)
Change TimeHow often to change the background image in seconds, set to 0 to never change
Advanced OptionDescription
Auto InstallAutomatically install backgrounds on startup
Render Text Above BackgroundShow text, code, browser, and iframes on top of the background
Use Inverted OpacityUse an inverted opacity, so 0 is visible and 1 is invisible
Smooth Image RenderingUse smooth image rendering when resizing images instead of pixelated
Setting ScopeWhere to save background settings - Global or Workspace
CSSCustom CSS
APIToggles API access
<div align="right"><a href="#top"><code>▲</code></a></div>

Environment Variables

If the path is not working, add an additional / after the variable.

VariableDescription
${vscode:workspace}Current VSCode project folder
${vscode:user}VSCode user directory, either Code/User or data/user-data/User
${user:home}Current user's home directory
${...}System environment variable
<div align="right"><a href="#top"><code>▲</code></a></div>

 

API

Requires API setting to be turned on in the extension

Add this extension to your package.json.

json
{ ... "extensionDependencies": [ "katsute.code-background" ] ... }

Access the api by using:

js
const background = vscode.extensions.getExtension("katsute.code-background").exports;
  • install(): void

    Runs the Background: Install command.

  • uninstall(): void

    Runs the Background: Uninstall command.

  • reload(): void

    Runs the Background: Reload command.

  • get(ui): string[]?

    • ui : Background to get from; either window, editor, sidebar, panel.

    Returns an array of globs for the specified background.

  • add(ui, glob): Promise<boolean>

    • ui : Background to add to; either window, editor, sidebar, panel.
    • glob: Glob to add.

    Returns true if successful.

  • replace(ui, old, glob): Promise<boolean>

    • ui : Background to replace from; either window, editor, sidebar, panel.
    • old: Glob to replace.
    • glob: Updated glob.

    Returns true if successful.

  • remove(ui, glob): Promise<boolean>

    • ui : Background to remove from; either window, editor, sidebar, panel.
    • glob: Glob to remove.

    Returns true if successful.

<div align="right"><a href="#top"><code>▲</code></a></div>

 

This extension is released under the GNU General Public License (GPL) v2.0.

Contributors

Showing top 4 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from KatsuteDev/Background via the GitHub API.Last fetched: 6/21/2026