Theme plugin for Hyper using decorateConfig, with a curated set of palettes aligned with the rest of this repository.
index.js: Plugin entry. ImplementsdecorateConfigand selects a theme.themes/*.js: Theme palettes:xmadridlahabanaseulmiamiparistokiooslohelsinkiberlinlondonprahabogota
package.json: Plugin metadata for publishing.install.sh: Installs the plugin locally and enables it in Hyper's config.
- Hyper installed.
bash/zshandsedavailable to run the installer.
- One-liner:
wget -qO- https://raw.githubusercontent.com/xscriptor/terminal/main/hyper/install.sh | bashor
- Local install:
cd hyper
chmod +x install.sh && ./install.shWhat the installer does:
- Detects the correct Hyper config path (macOS, Linux, Windows).
- Copies
index.js,package.jsonand allthemes/*.jsto Hyper’s local plugins folder:~/<App Support>/Hyper/.hyper_plugins/local/hyper-xscriptor-themes
- Adds
localPlugins: ['hyper-xscriptor-themes']to your.hyper.js. - Ensures
config: { xscriptorTheme: 'x' }is present. - Adds shell aliases with prefix
hyperxto~/.bashrcand~/.zshrcfor fast switching.
- In your Hyper config (
.hyper.js) set the theme inside theconfigblock:
module.exports = {
config: {
xscriptorTheme: 'oslo' // choose any from the list above
},
localPlugins: ['hyper-xscriptor-themes']
}- Alternatively, set an environment variable before launching Hyper:
export XSCRIPTOR_HYPER_THEME=x-nord- The installer adds shell aliases to switch quickly:
hyperxx,hyperxmadrid,hyperxlahabana,hyperxseul,hyperxmiami,hyperxparis,hyperxtokio,hyperxoslo,hyperxhelsinki,hyperxberlin,hyperxlondon,hyperxpraha,hyperxbogota
- Usage example:
hyperxoslo→ writesxscriptorTheme: 'oslo'to your.hyper.jsand opens Hyper automatically (CLI oropen -a Hyperon macOS).- Reload your shell if aliases do not appear:
source ~/.bashrcorsource ~/.zshrc.
- Remote one‑liner:
wget -qO- https://raw.githubusercontent.com/xscriptor/terminal/main/hyper/uninstall.sh | bash
# or
curl -fsSL https://raw.githubusercontent.com/xscriptor/terminal/main/hyper/uninstall.sh | bash- Local:
chmod +x uninstall.sh && ./uninstall.sh- The plugin uses
decorateConfig(config)and merges the selected theme into the user’sconfigobject. - Palettes map to Hyper’s ANSI 16 colors consistently across terminals in this repo.
- If your
.hyper.jsalready has content, the installer appends the plugin safely. Review changes if you keep a heavily customized config. - Config locations (per Hyper docs):
- macOS:
~/Library/Application Support/Hyper/.hyper.js - Linux:
~/.config/Hyper/.hyper.js(or$XDG_CONFIG_HOME/Hyper/.hyper.js) - Windows:
%APPDATA%/Hyper/.hyper.js
- macOS:
- Plugin not loaded:
- Ensure
localPluginscontainshyper-xscriptor-themes. Restart Hyper.
- Ensure
- Theme not applied:
- Confirm
config.xscriptorThemeis set and matches one of the provided names.
- Confirm
- Broken config after install:
- Check
.hyper.jssyntax. Restore from a backup if needed and re-run the installer.
- Check