overhaul for pi4
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
".config/hypr" = { source = ./hypr; recursive = true; };
|
||||
".config/swaylock" = { source = ./swaylock; recursive = true; };
|
||||
".config/wal/templates" = { source = ./wal/templates; recursive = true; };
|
||||
".config/zsh" = { source = ./zsh; recursive = true; };
|
||||
"Pictures/Wallpaper" = { source = ./Wallpaper; recursive = true; };
|
||||
};
|
||||
|
||||
|
||||
120
home-manager/nathan/dotfiles/zsh/ohmyposh.toml
Normal file
120
home-manager/nathan/dotfiles/zsh/ohmyposh.toml
Normal file
@@ -0,0 +1,120 @@
|
||||
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||
version = 3
|
||||
final_space = true
|
||||
|
||||
[palette]
|
||||
c0 = '#0B0704'
|
||||
c1 = '#846550'
|
||||
c10 = '#636E90'
|
||||
c11 = '#6FAEAC'
|
||||
c12 = '#A5ADA2'
|
||||
c13 = '#F1DCB7'
|
||||
c14 = '#A1E7DA'
|
||||
c15 = '#c2c1c0'
|
||||
c2 = '#4a526c'
|
||||
c3 = '#538281'
|
||||
c4 = '#7b8179'
|
||||
c5 = '#b4a589'
|
||||
c6 = '#78ada3'
|
||||
c7 = '#958d89'
|
||||
c8 = '#665b54'
|
||||
c9 = '#B1876B'
|
||||
|
||||
[secondary_prompt]
|
||||
template = '❭❭ '
|
||||
background = 'transparent'
|
||||
|
||||
[transient_prompt]
|
||||
template = '{{ if gt .Code 0 }}!❭ {{else}}❭ {{end}}'
|
||||
background = 'transparent'
|
||||
foreground_templates = ['{{ if gt .Code 0 }}p:c13{{end}}', '{{ if eq .Code 0 }}p:c14{{end}}']
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
trailing_diamond = ''
|
||||
template = ' {{ .Icon }} '
|
||||
foreground = 'p:c12'
|
||||
background = 'p:c1'
|
||||
type = 'os'
|
||||
style = 'diamond'
|
||||
|
||||
[blocks.segments.properties]
|
||||
cache_duration = 'none'
|
||||
|
||||
[[blocks.segments]]
|
||||
trailing_diamond = ''
|
||||
template = '{{ .UserName }}@{{ .HostName }}'
|
||||
foreground = 'p:c14'
|
||||
background = 'p:c2'
|
||||
type = 'session'
|
||||
style = 'diamond'
|
||||
|
||||
[blocks.segments.properties]
|
||||
cache_duration = 'none'
|
||||
|
||||
[[blocks.segments]]
|
||||
trailing_diamond = ''
|
||||
template = '{{ .Path }}'
|
||||
foreground = 'p:c13'
|
||||
background = 'p:c4'
|
||||
type = 'path'
|
||||
style = 'diamond'
|
||||
|
||||
[blocks.segments.properties]
|
||||
cache_duration = 'none'
|
||||
style = 'full'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'right'
|
||||
overflow = 'hidden'
|
||||
|
||||
[[blocks.segments]]
|
||||
leading_diamond = ''
|
||||
template = '{{ .FormattedMs }}'
|
||||
foreground = 'p:c13'
|
||||
background = 'p:c4'
|
||||
type = 'executiontime'
|
||||
style = 'diamond'
|
||||
|
||||
[blocks.segments.properties]
|
||||
cache_duration = 'none'
|
||||
|
||||
[[blocks.segments]]
|
||||
leading_diamond = ''
|
||||
foreground = 'p:c14'
|
||||
background = 'p:c2'
|
||||
type = 'time'
|
||||
style = 'diamond'
|
||||
|
||||
[blocks.segments.properties]
|
||||
cache_duration = 'none'
|
||||
|
||||
[[blocks.segments]]
|
||||
leading_diamond = ''
|
||||
foreground = 'p:c12'
|
||||
background = 'p:c1'
|
||||
type = 'shell'
|
||||
style = 'diamond'
|
||||
|
||||
[blocks.segments.properties]
|
||||
cache_duration = 'none'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
template = '{{ if gt .Code 0 }}!❭ {{else}}❭ {{end}}'
|
||||
background = 'transparent'
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground_templates = ['{{ if gt .Code 0 }}p:c13{{end}}', '{{ if eq .Code 0 }}p:c14{{end}}']
|
||||
|
||||
[blocks.segments.properties]
|
||||
cache_duration = 'none'
|
||||
Reference in New Issue
Block a user