Slatewave (Oh My Posh)

May 4, 2026 · View on GitHub

Slatewave

Slatewave (Oh My Posh)

A two-line Oh My Posh prompt on a warm-gray foundation with a teal signature. Part of the Slatewave family — one palette across editors, terminals, prompts, notes, and more.

Slate below, teal above.

Slatewave prompt preview


Layout

Two lines, three zones:

╭─  ~ / path    main  ≡   2    1                          3.2s  83%   CPU: 12% | RAM: 4/16GB      3:04 PM
╰─❯$
  • Left: OS → path → git → language runtimes (cmake, python, java as applicable)
  • Right: execution time → battery → CPU / RAM → clock
  • Second line: ╰─❯$, teal when the last command succeeded, red when it exited non-zero

Palette

Foundation — chrome grays

Warm-neutral grays that stay readable against any segment foreground. Matches the Slatewave VSCode theme's editor/sidebar scale so prompt and editor feel continuous.

HexUsed by
#2c313a#2c313apath, python, java, clock
#3e4451#3e4451OS icon, CPU / RAM

Signature — teal

HexUsed by
#5eead4#5eead4path fg, python fg, java fg, clock fg, second-line prompt
#0f766e#0f766ecmake segment bg
#ecfeff#ecfeffcmake fg, battery fg

Git states

HexMeaning
#38bdf8#38bdf8clean branch
#fb7185#fb7185working / staging changes
#B388FF#B388FFahead or behind upstream
#ff4500#ff4500diverged (both ahead and behind)
#193549#193549fg on light git segment

Battery & system

HexMeaning
#0e7490#0e7490battery charging / full
#b45309#b45309battery discharging
#94a3b8#94a3b8CPU / RAM text
#cbd5e1#cbd5e1execution time

Status

HexMeaning
#5eead4#5eead4last command succeeded (prompt caret)
#ef5350#ef5350last command exited non-zero

Segments in detail

SegmentShowsForegroundBackground
OSplatform icon#e2e8f0 #e2e8f0#3e4451 #3e4451
Pathagnoster_short, 2-dir max#5eead4 #5eead4#2c313a #2c313a
Gitbranch + ahead/behind + working/staging counts + stash count#193549 #193549#38bdf8 #38bdf8 / #fb7185 #fb7185 / #B388FF #B388FF / #ff4500 #ff4500
CMakeversion when CMakeLists.txt present#ecfeff #ecfeff#0f766e #0f766e
Pythonversion + virtualenv#5eead4 #5eead4#3e4451 #3e4451
Javaversion#5eead4 #5eead4#2c313a #2c313a
Execution timeaustin-formatted duration of last command#cbd5e1 #cbd5e1(transparent)
Batteryicon + percentage, hides at 100% on AC#ecfeff #ecfeff#0e7490 #0e7490 charging / #b45309 #b45309 discharging
CPUphysical percent used#94a3b8 #94a3b8#3e4451 #3e4451
RAMused/total GB#94a3b8 #94a3b8#3e4451 #3e4451
Clock12-hour local time#5eead4 #5eead4#2c313a #2c313a
Exit codeprompt caret#5eead4 #5eead4 success / #ef5350 #ef5350 error(transparent)

Requirements

  • oh-my-posh ≥ v18 — install guide
  • A Nerd Font for the powerline glyphs and segment icons. Tested with MesloLGS NF and Hack Nerd Font. Configure your terminal (or VSCode's terminal.integrated.fontFamily) accordingly.

Installation

Clone + point your shell at it

git clone https://github.com/kevinlangleyjr/slatewave-omp.git \
  ~/.config/oh-my-posh/slatewave-omp

Then add to your shell init:

zsh (~/.zshrc):

eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/slatewave-omp/slatewave.omp.yml)"

bash (~/.bashrc):

eval "$(oh-my-posh init bash --config ~/.config/oh-my-posh/slatewave-omp/slatewave.omp.yml)"

fish (~/.config/fish/config.fish):

oh-my-posh init fish --config ~/.config/oh-my-posh/slatewave-omp/slatewave.omp.yml | source

Reload the shell (exec zsh) — you should see the new prompt immediately.

Direct download (no clone)

curl -fsSL https://raw.githubusercontent.com/kevinlangleyjr/slatewave-omp/main/slatewave.omp.yml \
  -o ~/.config/oh-my-posh/slatewave.omp.yml

Slatewave family

One palette. Every tool.

See getslatewave.com for the full family.

Customize

The prompt is a single YAML file — tweak segments, icons, and colors in place. Common edits:

  • Change the clock format (12h → 24h): time_format: "15:04" on the time segment
  • Swap the branch glyph: change powerline_symbol or leading_diamond on the git segment
  • Hide a segment: delete the object, or gate it with properties.home_enabled: false
  • Add a segment: append to blocks[].segments[] — see the oh-my-posh segment reference

After editing, exec zsh (or open a new pane) to reload.


License

WTFPL — Do What The Fuck You Want To Public License, Version 2.