summaryrefslogtreecommitdiff
path: root/.config/ohmyposh/tokyocat.omp.yml
blob: 23ac0bfe799e567a8b7b902ef0beae8fe3080aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json

palette:
  black: "#262B44"
  blue: blue
  cyan: "#00897b"
  dark_blue: "#166e78"
  dark_blue2: "#193549"
  green: "#4caf50"
  light_blue: "#40c4ff"
  magenta: "#F5C2E7"
  red: "#D81E5B"
  red2: "#e91e63"
  white: "#ffffff"
  yellow: "#ffeb3b"
secondary_prompt:
  template: "❯❯ "
  foreground: p:magenta
  background: transparent
transient_prompt:
  template: "❯ "
  foreground: p:magenta
  background: transparent
blocks:
- type: prompt
  alignment: left
  segments:
  - properties:
      cache_duration: none
      style: full
    leading_diamond: 
    trailing_diamond: 
    template: "{{ .Path }}"
    foreground: p:blue
    background: p:black
    type: path
    style: diamond
  - properties:
      branch_icon: "\ue725 "
      cache_duration: none
      commit_icon: "@"
      fetch_status: true
    trailing_diamond: 
    template: " {{ .HEAD }}{{ if .Working.Changed }} \uf044  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046  {{ .Staging.String }}{{ end }}{{ if and (or (.Working.Changed) (.Staging.Changed)) (or (gt .Ahead 0) (gt .Behind 0)) }} | {{ else }} {{ end }}{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}"
    foreground: p:blue
    background: p:black
    type: git
    style: diamond
  newline: true
- type: rprompt
  overflow: hidden
  segments:
  - properties:
      cache_duration: none
      display_style: austin
      threshold: 5000
    template: "{{ .FormattedMs }}"
    foreground: p:yellow
    background: transparent
    type: executiontime
    style: plain
- type: prompt
  alignment: left
  segments:
  - properties:
      cache_duration: none
    template: ❯
    foreground: p:magenta
    powerline_symbol: 
    background: transparent
    type: text
    style: powerline
    foreground_templates:
    - "{{ if gt .Code 0 }}p:red{{end}}"
    - "{{ if eq .Code 0 }}p:magenta{{end}}"
  newline: true
version: 3
final_space: true