Package Control

The official Sublime Text package manager.

AutoAppearance

Sublime Text 4 plugin for Linux desktops that follow the xdg-desktop-portal appearance setting

By navisidhu
Created June 8, 2026, last updated June 17, 2026.

JunMayAprMarFebJan Dec2025 NovOctSepAugJul 2026-W28 | installs: 3 | removals: 1 | upgrades: 0 2026-W28 | installs: 3 | removals: 1 | upgrades: 0 2026-W28 | installs: 3 | removals: 1 | upgrades: 0 2026-W27 | installs: 1 | removals: 0 | upgrades: 0 2026-W27 | installs: 1 | removals: 0 | upgrades: 0 2026-W27 | installs: 1 | removals: 0 | upgrades: 0 2026-W26 | installs: 2 | removals: 0 | upgrades: 0 2026-W26 | installs: 2 | removals: 0 | upgrades: 0 2026-W26 | installs: 2 | removals: 0 | upgrades: 0 2026-W25 | installs: 2 | removals: 0 | upgrades: 0 2026-W25 | installs: 2 | removals: 0 | upgrades: 0 2026-W25 | installs: 2 | removals: 0 | upgrades: 0 024 WeeklyInstalls 024 WeeklyUpgrades 2026-W25 | upgrades: 0 1.0.2 / 1.0.1 2026-W24 1.0.0
Installations: recent average 2 per week, 8 in total
Installations minus removals
Upgrades

Links

Versions

1.0.2 (>ST4000) ·
2026-06-17 13:04 — Linux

More
  • (>ST4000) 1.0.1 ·
    2026-06-15 14:05 — Linux

  • 1.0.0 ·
    2026-06-09 08:59 — Linux

AutoAppearance

AutoAppearance is a Sublime Text 4 plugin for Linux desktops that follow the xdg-desktop-portal appearance setting. It runs busctl --user monitor in the background, detects portal SettingChanged signals, reads org.freedesktop.appearance color-scheme, and updates Sublime's theme and color_scheme preferences from Sublime's own light/dark settings.

The portal color-scheme values are:

Install

Place this folder in your Sublime Text Packages directory, for example:

~/.config/sublime-text/Packages/AutoAppearance

Then restart Sublime Text or run sublime_plugin.reload_plugin("auto_appearance") from the Sublime console.

For package-based testing, build and install a .sublime-package:

make build
make install

The installer copies dist/AutoAppearance.sublime-package into Sublime's Installed Packages directory. If your Sublime data directory lives somewhere custom, pass it explicitly:

make install SUBLIME_INSTALLED_PACKAGES_DIR="$HOME/.config/sublime-text/Installed Packages"

Configure

AutoAppearance reads these settings from Preferences.sublime-settings:

{
  "light_theme": "Default.sublime-theme",
  "dark_theme": "Default Dark.sublime-theme",
  "light_color_scheme": "Celeste.sublime-color-scheme",
  "dark_color_scheme": "Mariana.sublime-color-scheme",
}

When the system switches appearance, AutoAppearance copies the matching light/dark values into Sublime's active theme and color_scheme settings.

Open Preferences: Package Settings > AutoAppearance > Settings, or edit AutoAppearance.sublime-settings directly for plugin behavior such as busctl lookup and how to handle the portal's no preference value.

If Sublime cannot find busctl when launched from your desktop environment, set:

{
  "busctl_binary": "/usr/bin/busctl",
}

Commands

The command palette includes:

Package Control displays the install instructions from messages/install.txt.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md before opening issues or pull requests.

License

AutoAppearance is released under the MIT License. See LICENSE.

Results

Packages