Skip to content

kevinlangleyjr/slatewave-omp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Hex Used by
#2c313a #2c313a path, python, java, clock
#3e4451 #3e4451 OS icon, CPU / RAM

Signature — teal

Hex Used by
#5eead4 #5eead4 path fg, python fg, java fg, clock fg, second-line prompt
#0f766e #0f766e cmake segment bg
#ecfeff #ecfeff cmake fg, battery fg

Git states

Hex Meaning
#38bdf8 #38bdf8 clean branch
#fb7185 #fb7185 working / staging changes
#B388FF #B388FF ahead or behind upstream
#ff4500 #ff4500 diverged (both ahead and behind)
#193549 #193549 fg on light git segment

Battery & system

Hex Meaning
#0e7490 #0e7490 battery charging / full
#b45309 #b45309 battery discharging
#94a3b8 #94a3b8 CPU / RAM text
#cbd5e1 #cbd5e1 execution time

Status

Hex Meaning
#5eead4 #5eead4 last command succeeded (prompt caret)
#ef5350 #ef5350 last command exited non-zero

Segments in detail

Segment Shows Foreground Background
OS platform icon #e2e8f0 #e2e8f0 #3e4451 #3e4451
Path agnoster_short, 2-dir max #5eead4 #5eead4 #2c313a #2c313a
Git branch + ahead/behind + working/staging counts + stash count #193549 #193549 #38bdf8 #38bdf8 / #fb7185 #fb7185 / #B388FF #B388FF / #ff4500 #ff4500
CMake version when CMakeLists.txt present #ecfeff #ecfeff #0f766e #0f766e
Python version + virtualenv #5eead4 #5eead4 #3e4451 #3e4451
Java version #5eead4 #5eead4 #2c313a #2c313a
Execution time austin-formatted duration of last command #cbd5e1 #cbd5e1 (transparent)
Battery icon + percentage, hides at 100% on AC #ecfeff #ecfeff #0e7490 #0e7490 charging / #b45309 #b45309 discharging
CPU physical percent used #94a3b8 #94a3b8 #3e4451 #3e4451
RAM used/total GB #94a3b8 #94a3b8 #3e4451 #3e4451
Clock 12-hour local time #5eead4 #5eead4 #2c313a #2c313a
Exit code prompt 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors