Skip to content

Latest commit

 

History

History
138 lines (102 loc) · 4.1 KB

remote-control.md

File metadata and controls

138 lines (102 loc) · 4.1 KB

Remote Control

Control a running Aether GUI from another terminal, a shell script, or an AI coding assistant over a Unix domain socket at ~/.config/aether/aether.sock.

All commands require Omarchy 4.5 or later.

Quick Start

# Inspect current editor state
aether status

# Load a wallpaper and extract colors
aether extract ~/Wallpapers/forest.jpg

# Move sliders in the Adjust tab
aether adjust --vibrance 20 --contrast 10

# Apply the active theme through Omarchy
aether apply

Editor IPC Subcommands

Bare subcommands without a -- prefix connect to the running GUI and update the editor immediately.

Status

aether status
aether status --json

Returns the 16-color palette, extraction mode, light or dark mode, and wallpaper path.

Extract Colors

aether extract /path/to/wallpaper.jpg
aether extract /path/to/wallpaper.jpg --mode pastel
aether extract /path/to/wallpaper.jpg --mode analogous --light-mode

Set Color or Full Palette

aether set-color 0 "#0a180a"
aether set-color 4 "#53ba97"
aether set-palette '["#0a180a","#a8ad42","#7cd480","#a0c877","#53ba97","#7cc094","#8fd7b0","#a5baa7","#39513c","#a8ad42","#7cd480","#a0c877","#53ba97","#7cc094","#8fd7b0","#bed3c0"]'

Adjust Palette

Adjustments are non-destructive and apply to the base palette, matching the Adjust tab in the GUI:

aether adjust --vibrance 20
aether adjust --saturation -10 --contrast 15
aether adjust --temperature 30 --tint -5
aether adjust --brightness 10 --shadows 5 --highlights -5
aether adjust --hue-shift 45
aether adjust --gamma 1.2 --black-point 5 --white-point -3
Flag Range Description
--vibrance -50 to 50 Selective saturation boost
--saturation -100 to 100 Overall saturation scale
--contrast -30 to 30 Lightness contrast
--brightness -30 to 30 Overall lightness shift
--shadows -50 to 50 Dark tones shift
--highlights -50 to 50 Bright tones shift
--hue-shift -180 to 180 Hue rotation in degrees
--temperature -50 to 50 Warm or cool shift
--tint -50 to 50 Green or magenta shift
--gamma 0.5 to 2.0 Gamma curve
--black-point -30 to 30 Black floor adjustment
--white-point -30 to 30 White ceiling adjustment

Mode, Wallpaper, Variables, and Apply

aether set-mode pastel
aether toggle-light-mode
aether set-wallpaper /path/to/wallpaper.jpg
aether get-variables --json
aether apply

aether apply writes the native Omarchy theme bundle to ~/.config/omarchy/themes/aether/, renders custom app folders in ~/.config/aether/custom/, activates the theme with omarchy theme set aether, and starts any custom post-apply.sh scripts after activation succeeds.

Blueprints

aether list-blueprints --json
aether load-blueprint "Nord"
aether apply-blueprint "Nord"

Headless Commands for Automation

Commands with -- run without a GUI and support --json. See CLI Reference for the full list.

aether --color-info "#7cd480" --json
aether --contrast "#0a180a" "#a5baa7" --json
aether --extract-palette ~/wallpaper.jpg --extract-mode pastel --json
aether --current-theme --json
aether --list-apps --json
aether --show-variables "Nord" --json

Socket Protocol

The IPC protocol uses newline-delimited JSON over ~/.config/aether/aether.sock.

Example requests:

{"cmd": "status"}
{"cmd": "extract", "path": "/path/to/wallpaper.jpg", "mode": "pastel"}
{"cmd": "set-color", "index": 4, "value": "#53ba97"}
{"cmd": "adjust", "vibrance": 20, "contrast": 10}
{"cmd": "apply"}

Example response:

{"ok": true, "palette": ["#0a180a", "#a8ad42"], "light_mode": false, "mode": "normal", "wallpaper": "/home/user/Wallpapers/forest.jpg"}

Socket Details

  • Socket path: ~/.config/aether/aether.sock
  • PID file: ~/.config/aether/aether.sock.pid
  • Permissions: 0600 owner-only
  • Lifecycle: Created when the GUI starts on a supported Omarchy system and removed on clean exit. Stale sockets from crashed instances are cleaned up automatically on the next start.