Skip to content

fborello-lambda/photoelectric_omp_theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Photoelectric Theme for Oh My Posh ⚡

A visually appealing theme for Oh My Posh, photoelectric.omp.json is inspired by the amazing themes already included with Oh My Posh. It is designed for use with wezterm, JetBrains Mono Nerd Font, and zsh.

Image

Installation

Follow these installation steps:

Usage

  1. After installing Oh My Posh, download photoelectric.omp.json and place it in a directory of your choice (e.g., $HOME/.omp_themes/).

  2. In your terminal's configuration file (e.g., ~/.zshrc), add the following:

# Oh My Posh
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
    eval "$(oh-my-posh init zsh --config $HOME/.omp_themes/photoelectric.omp.json)"
fi
  1. Reload the configuration file:
source ~/.zshrc

Note

WezTerm includes Nerd Fonts by default. If you want to use VS Code's integrated terminal, follow the steps below to ensure compatibility.

VS Code Configuration

To ensure the theme is fully compatible with the VS Code integrated terminal, install and set a font from Nerd Fonts.

  1. After installing the font, update your VS Code settings.json with your installed font as follows:
{
    "editor.fontFamily": "JetBrainsMono Nerd Font",
    "editor.fontLigatures": true
}

About

⚡ Photoelectric Theme | Oh My Posh

Resources

Stars

Watchers

Forks

Languages