Shadow config v1.0

This commit is contained in:
max_ag 2025-07-16 17:21:23 +02:00
commit 84bc5de209
25 changed files with 2324 additions and 0 deletions

View file

@ -0,0 +1,165 @@
console_title_template = '{{ .Shell }} in {{ .Folder }}'
version = 3
final_space = true
[palette]
black = '#262B44'
blue = '#4B95E9'
green = '#59C9A5'
orange = '#303C68'
red = '#D81E5B'
white = '#E0DEF4'
yellow = '#92D4FE'
[secondary_prompt]
template = '<p:yellow,transparent></><,p:yellow> > </><p:yellow,transparent></> '
foreground = 'p:black'
background = 'transparent'
[transient_prompt]
template = '<p:yellow,transparent></><,p:yellow> {{ .Folder }} </><p:yellow,transparent></> '
foreground = 'p:black'
background = 'transparent'
[upgrade]
source = 'cdn'
interval = '168h'
auto = false
notice = false
[[tooltips]]
leading_diamond = ''
trailing_diamond = ''
template = '  {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} '
foreground = 'p:white'
background = 'p:orange'
type = 'aws'
style = 'diamond'
tips = ['aws']
[tooltips.properties]
display_default = true
[[tooltips]]
leading_diamond = ''
trailing_diamond = ''
template = '  {{ .Name }} '
foreground = 'p:white'
background = 'p:blue'
type = 'az'
style = 'diamond'
tips = ['az']
[tooltips.properties]
display_default = true
[[blocks]]
type = 'prompt'
alignment = 'left'
[[blocks.segments]]
leading_diamond = ''
trailing_diamond = ''
template = ' {{ if .SSHSession }} {{ end }}{{ .UserName }} '
foreground = 'p:black'
background = 'p:yellow'
type = 'session'
style = 'diamond'
[[blocks.segments]]
template = '  {{ path .Path .Location }} '
foreground = 'p:white'
powerline_symbol = ''
background = 'p:orange'
type = 'path'
style = 'powerline'
[blocks.segments.properties]
style = 'folder'
[[blocks.segments]]
template = ' {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} '
foreground = 'p:black'
powerline_symbol = ''
background = 'p:green'
type = 'git'
style = 'powerline'
foreground_templates = ['{{ if or (.Working.Changed) (.Staging.Changed) }}p:black{{ end }}', '{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:white{{ end }}', '{{ if gt .Ahead 0 }}p:white{{ end }}']
background_templates = ['{{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}', '{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}', '{{ if gt .Ahead 0 }}#49416D{{ end }}', '{{ if gt .Behind 0 }}#7A306C{{ end }}']
[blocks.segments.properties]
branch_template = '{{ trunc 25 .Branch }}'
fetch_status = true
fetch_upstream_icon = true
[[blocks.segments]]
template = '  '
foreground = 'p:white'
powerline_symbol = ''
background = 'p:yellow'
type = 'root'
style = 'powerline'
[[blocks.segments]]
leading_diamond = '<transparent,background></>'
trailing_diamond = ''
template = ' {{ if gt .Code 0 }}{{ else }}{{ end }} '
foreground = 'p:white'
background = 'p:blue'
type = 'status'
style = 'diamond'
background_templates = ['{{ if gt .Code 0 }}p:red{{ end }}']
[blocks.segments.properties]
always_enabled = true
[[blocks]]
type = 'rprompt'
[[blocks.segments]]
template = ' '
foreground = 'p:green'
background = 'transparent'
type = 'node'
style = 'plain'
[blocks.segments.properties]
display_mode = 'files'
fetch_package_manager = false
home_enabled = false
[[blocks.segments]]
template = ' '
foreground = 'p:blue'
background = 'transparent'
type = 'go'
style = 'plain'
[blocks.segments.properties]
fetch_version = false
[[blocks.segments]]
template = ' '
foreground = 'p:yellow'
background = 'transparent'
type = 'python'
style = 'plain'
[blocks.segments.properties]
display_mode = 'files'
fetch_version = false
fetch_virtual_env = false
[[blocks.segments]]
template = 'in <p:blue><b>{{ .Name }}</b></> '
foreground = 'p:white'
background = 'transparent'
type = 'shell'
style = 'plain'
[[blocks.segments]]
template = 'at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>'
foreground = 'p:white'
background = 'transparent'
type = 'time'
style = 'plain'

View file

@ -0,0 +1,73 @@
console_title_template = '{{ .Shell }} in {{ .Folder }}'
version = 3
final_space = true
[palette]
nix-shell = '#D81E5B'
#nix-shell = '#6B33A0'
shell = '#92D4FE'
path = '#303C68'
[transient_prompt]
template = '~> '
foreground = 'p:shell'
background = 'transparent'
foreground_templates = [
'{{ if .Env.IN_NIX_SHELL }}p:nix-shell{{ end }}'
]
[[blocks]]
type = 'prompt'
alignment = 'left'
force = true
[[blocks]]
newline = true
type = 'prompt'
alignment = 'left'
[[blocks.segments]]
type = 'shell'
style = 'powerline'
powerline_symbol = ''
foreground = 'black'
background = 'p:shell'
template = '{{if .Env.IN_NIX_SHELL}} nix-shell {{else}} {{.Shell}} {{end}}'
background_templates = [
'{{ if .Env.IN_NIX_SHELL }}p:nix-shell{{ end }}'
]
foreground_templates = [
'{{ if .Env.IN_NIX_SHELL }}white{{ end }}'
]
[[blocks.segments]]
type = 'text'
template = ' . '
style = 'plain'
foreground = 'transparent'
background = 'transparent'
[[blocks.segments]]
type = 'path'
template = '  {{ path .Path .Location }} '
style = 'powerline'
powerline_symbol = ''
foreground = 'white'
background = 'p:path'
[blocks.segments.properties]
style = 'folder'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'text'
style = 'plain'
foreground = 'p:shell'
foreground_templates = [
'{{if .Env.IN_NIX_SHELL}}p:nix-shell{{ end }}'
]
template = '~>'

74
assets/reeee.toml Normal file
View file

@ -0,0 +1,74 @@
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
version = 2
final_space = true
console_title_template = '{{ .Shell }} in {{ .Folder }}'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'path'
style = 'plain'
background = 'transparent'
foreground = 'blue'
template = '{{ .Path }}'
[blocks.segments.properties]
style = 'full'
[[blocks.segments]]
type = 'git'
style = 'plain'
foreground = 'p:grey'
background = 'transparent'
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
[blocks.segments.properties]
branch_icon = ''
commit_icon = '@'
fetch_status = true
[[blocks]]
type = 'rprompt'
overflow = 'hidden'
[[blocks.segments]]
type = 'executiontime'
style = 'plain'
foreground = 'yellow'
background = 'transparent'
template = '{{ .FormattedMs }}'
[blocks.segments.properties]
threshold = 5000
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'text'
style = 'plain'
foreground_templates = [
"{{if gt .Code 0}}red{{end}}",
"{{if eq .Code 0}}magenta{{end}}",
]
background = 'transparent'
template = ''
[transient_prompt]
foreground_templates = [
"{{if gt .Code 0}}red{{end}}",
"{{if eq .Code 0}}magenta{{end}}",
]
background = 'transparent'
template = ' '
[secondary_prompt]
foreground = 'magenta'
background = 'transparent'
template = ' '

BIN
assets/sddm-wallpaper.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 MiB

BIN
assets/shadow-cli.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

14
assets/shadow-cli.txt Normal file
View file

@ -0,0 +1,14 @@
      ▄▀▀▀▀▀▀▀▀▄▄      
    ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄    
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   
  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ 
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄  
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
    ▄▀▀▀▀▀▀▀▀▀▀▀▀▄     
  ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄   
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄  
 ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ 
  ▀ ▀ ▀▀▀▀ ▀▀▀▀▀ ▀▀    
            ▀▀        

BIN
assets/shadow_dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB