forked from Snoweuph/Dotfiles
STuff
This commit is contained in:
parent
59c99ff6f6
commit
b740c96095
3 changed files with 88 additions and 75 deletions
3
.bashrc
3
.bashrc
|
@ -96,3 +96,6 @@ alias todo="nvim ~/Documents/Notes/Todo.md"
|
||||||
alias nano="nvim"
|
alias nano="nvim"
|
||||||
alias neofetch="fastfetch"
|
alias neofetch="fastfetch"
|
||||||
|
|
||||||
|
|
||||||
|
# Added by app (https://github.com/hkdb/app) installation
|
||||||
|
source /home/snoweuph/.config/app/.app_profile
|
||||||
|
|
149
.config/omp.toml
149
.config/omp.toml
|
@ -4,86 +4,91 @@ final_space = true
|
||||||
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
type = 'prompt'
|
type = 'prompt'
|
||||||
alignment = 'left'
|
alignment = 'left'
|
||||||
newline = true
|
newline = true
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
type = 'path'
|
type = 'path'
|
||||||
style = 'diamond'
|
style = 'diamond'
|
||||||
leading_diamond = ''
|
leading_diamond = ''
|
||||||
trailing_diamond = ''
|
trailing_diamond = ''
|
||||||
template = '{{ path .Path .Location }} '
|
template = '{{ path .Path .Location }} '
|
||||||
background = 'p:beige'
|
background = 'p:beige'
|
||||||
foreground = 'p:black'
|
foreground = 'p:black'
|
||||||
|
|
||||||
[blocks.segments.properties]
|
[blocks.segments.properties]
|
||||||
style = 'agnoster_full'
|
style = 'agnoster_full'
|
||||||
[blocks.segments.properties.mapped_locations]
|
[blocks.segments.properties.mapped_locations]
|
||||||
"~" = ""
|
"~" = ""
|
||||||
"~/Downloads" = ""
|
"~/Downloads" = ""
|
||||||
"~/Workspace" = " "
|
"~/Workspace" = " "
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
type = 'git'
|
type = 'git'
|
||||||
style = 'diamond'
|
style = 'diamond'
|
||||||
trailing_diamond = ''
|
trailing_diamond = ''
|
||||||
leading_diamond = '<transparent,background></>'
|
leading_diamond = '<transparent,background></>'
|
||||||
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 }}']
|
background_templates = [
|
||||||
template = ' {{ if .UpstreamURL }}{{ .UpstreamIcon }}{{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }} '
|
'{{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}',
|
||||||
background = 'p:green'
|
'{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}',
|
||||||
foreground = 'p:black'
|
'{{ if gt .Ahead 0 }}#49416D{{ end }}',
|
||||||
|
'{{ if gt .Behind 0 }}#7A306C{{ end }}',
|
||||||
|
]
|
||||||
|
template = ' {{ if .UpstreamURL }}{{ .UpstreamIcon }}{{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }} '
|
||||||
|
background = 'p:green'
|
||||||
|
foreground = 'p:black'
|
||||||
|
|
||||||
[blocks.segments.properties]
|
[blocks.segments.properties]
|
||||||
branch_max_length = 25
|
branch_max_length = 25
|
||||||
fetch_status = true
|
fetch_status = true
|
||||||
fetch_upstream_icon = true
|
fetch_upstream_icon = true
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
type = 'root'
|
type = 'root'
|
||||||
style = 'powerline'
|
style = 'powerline'
|
||||||
powerline_symbol = '60°, 10'
|
powerline_symbol = '60°, 10'
|
||||||
template = ' '
|
template = ' '
|
||||||
background = 'p:yellow'
|
background = 'p:yellow'
|
||||||
foreground = 'p:white'
|
foreground = 'p:white'
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
type = 'node'
|
type = 'node'
|
||||||
style = 'diamond'
|
style = 'diamond'
|
||||||
trailing_diamond = ''
|
trailing_diamond = ''
|
||||||
leading_diamond = '<transparent,background></>'
|
leading_diamond = '<transparent,background></>'
|
||||||
template = 'JS '
|
template = 'JS '
|
||||||
background = 'p:gray'
|
background = 'p:gray'
|
||||||
foreground = 'p:green'
|
foreground = 'p:green'
|
||||||
|
|
||||||
[blocks.segments.properties]
|
[blocks.segments.properties]
|
||||||
display_mode = 'files'
|
display_mode = 'files'
|
||||||
fetch_package_manager = false
|
fetch_package_manager = false
|
||||||
home_enabled = false
|
home_enabled = false
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
type = 'go'
|
type = 'go'
|
||||||
style = 'diamond'
|
style = 'diamond'
|
||||||
trailing_diamond = ''
|
trailing_diamond = ''
|
||||||
leading_diamond = '<transparent,background></>'
|
leading_diamond = '<transparent,background></>'
|
||||||
template = 'Go '
|
template = 'Go '
|
||||||
background = 'p:gray'
|
background = 'p:gray'
|
||||||
foreground = 'p:cyan'
|
foreground = 'p:cyan'
|
||||||
|
|
||||||
[transient_prompt]
|
[transient_prompt]
|
||||||
foreground = "p:green"
|
foreground = "p:green"
|
||||||
foreground_templates = ["{{if gt .Code 0}}p:red{{end}}",]
|
foreground_templates = ["{{if gt .Code 0}}p:red{{end}}"]
|
||||||
background = 'transparent'
|
background = 'transparent'
|
||||||
template = '{{ if gt .Code 0 }}{{ else }}{{ end }} '
|
template = '{{ if gt .Code 0 }}{{ else }}{{ end }} '
|
||||||
[palette]
|
|
||||||
black = '#11111b'
|
|
||||||
gray = '#6c7086'
|
|
||||||
blue = '#89b4fa'
|
|
||||||
cyan = '#74c7ec'
|
|
||||||
green = '#a6e3a1'
|
|
||||||
orange = '#fab387'
|
|
||||||
red = '#f38ba8'
|
|
||||||
white = '#cdd6f4'
|
|
||||||
yellow = '#f9e2af'
|
|
||||||
beige = '#f2cdcd'
|
|
||||||
|
|
||||||
|
[palette]
|
||||||
|
black = '#11111b'
|
||||||
|
gray = '#6c7086'
|
||||||
|
blue = '#89b4fa'
|
||||||
|
cyan = '#74c7ec'
|
||||||
|
green = '#a6e3a1'
|
||||||
|
orange = '#fab387'
|
||||||
|
red = '#f38ba8'
|
||||||
|
white = '#cdd6f4'
|
||||||
|
yellow = '#f9e2af'
|
||||||
|
beige = '#f2cdcd'
|
||||||
|
|
9
.zshrc
9
.zshrc
|
@ -8,6 +8,7 @@ source "${ZINIT_HOME}/zinit.zsh"
|
||||||
# Plugins
|
# Plugins
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
zinit light zdharma-continuum/fast-syntax-highlighting
|
zinit light zdharma-continuum/fast-syntax-highlighting
|
||||||
|
zinit load marlonrichert/zsh-autocomplete
|
||||||
|
|
||||||
# Oh My Posh
|
# Oh My Posh
|
||||||
#########################################################
|
#########################################################
|
||||||
|
@ -50,11 +51,10 @@ export npm_config_userconfig="$HOME/.config/npmrc"
|
||||||
|
|
||||||
# Volta
|
# Volta
|
||||||
export VOLTA_HOME="$HOME/.local/share/volta"
|
export VOLTA_HOME="$HOME/.local/share/volta"
|
||||||
export PATH="$VOLTA_HOME/bin:$PATH"
|
|
||||||
|
|
||||||
# Go
|
# Go
|
||||||
export GOPATH=~/.local/share/go
|
export GOPATH=~/.local/share/go
|
||||||
export GOBIN=~/.local/bin/go
|
export GOBIN=$GOPATH/bin
|
||||||
|
|
||||||
# ROCM
|
# ROCM
|
||||||
export HSA_OVERRIDE_GFX_VERSION=10.3.0 # RX 6650 XT
|
export HSA_OVERRIDE_GFX_VERSION=10.3.0 # RX 6650 XT
|
||||||
|
@ -62,6 +62,9 @@ export HSA_OVERRIDE_GFX_VERSION=10.3.0 # RX 6650 XT
|
||||||
# Just
|
# Just
|
||||||
export JUST_UNSTABLE=1
|
export JUST_UNSTABLE=1
|
||||||
|
|
||||||
|
# PATH
|
||||||
|
export PATH=$PATH:$VOLTA_HOME/bin:$GOBIN
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
#########################################################
|
#########################################################
|
||||||
alias edit-nvim-conf="nvim ~/.config/nvim"
|
alias edit-nvim-conf="nvim ~/.config/nvim"
|
||||||
|
@ -70,3 +73,5 @@ alias todo="nvim ~/Documents/Notes/Todo.md"
|
||||||
|
|
||||||
alias nano="nvim"
|
alias nano="nvim"
|
||||||
alias neofetch="fastfetch"
|
alias neofetch="fastfetch"
|
||||||
|
|
||||||
|
source /home/snoweuph/.config/app/.app_profile
|
||||||
|
|
Loading…
Reference in a new issue