Skip to content

Commit

Permalink
omp: color session name when remote
Browse files Browse the repository at this point in the history
  • Loading branch information
chris468 committed Jun 30, 2024
1 parent b0b6dc8 commit 6cfe6a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dotfiles/private_dot_config/oh-my-posh/chris468.omp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ palettes:
dirty: p:nord13
diverged: p:nord11
ahead: p:nord10
remote: p:nord8

catppuccin-mocha:
rosewater: "#f5e0dc"
Expand Down Expand Up @@ -95,6 +96,7 @@ palettes:
dirty: p:yellow
diverged: p:red
ahead: p:red
remote: p:sky

var:
min_width: 90
Expand Down Expand Up @@ -136,6 +138,8 @@ blocks:
style: diamond
leading_diamond: <parentBackground,background></>
foreground: p:middle-foreground
foreground_templates:
- "{{ if .SSHSession }}p:remote{{ end }}"
background: p:middle-background
template: ' {{
$userName := .UserName }}{{
Expand Down

0 comments on commit 6cfe6a4

Please sign in to comment.