removed kdeconnect because of unnecesserity and added nix home configurations and added ohmyposh for the zsh
This commit is contained in:
67
.config/ohmyposh/catppuccin.json
Normal file
67
.config/ohmyposh/catppuccin.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"palette": {
|
||||
"os": "#ACB0BE",
|
||||
"closer": "p:os",
|
||||
"pink": "#ea76cb",
|
||||
"lavender": "#7287FD",
|
||||
"blue": "#1e66f5"
|
||||
},
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "p:os",
|
||||
"style": "plain",
|
||||
"template": "{{.Icon}} ",
|
||||
"type": "os"
|
||||
},
|
||||
{
|
||||
"foreground": "p:lavender",
|
||||
"style": "plain",
|
||||
"template": "{{ .UserName }} ",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "p:pink",
|
||||
"properties": {
|
||||
"folder_icon": "..\ue5fe..",
|
||||
"home_icon": "~",
|
||||
"style": "agnoster_short"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .Path }} ",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "p:lavender",
|
||||
"properties": {
|
||||
"branch_icon": "\ue725 ",
|
||||
"cherry_pick_icon": "\ue29b ",
|
||||
"commit_icon": "\uf417 ",
|
||||
"fetch_status": false,
|
||||
"fetch_upstream_icon": false,
|
||||
"merge_icon": "\ue727 ",
|
||||
"no_commits_icon": "\uf0c3 ",
|
||||
"rebase_icon": "\ue728 ",
|
||||
"revert_icon": "\uf0e2 ",
|
||||
"tag_icon": "\uf412 "
|
||||
},
|
||||
"template": "{{ .HEAD }} ",
|
||||
"style": "plain",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"style": "plain",
|
||||
"foreground": "p:closer",
|
||||
"template": "\uf105",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 3
|
||||
}
|
||||
71
.config/ohmyposh/zen.toml
Normal file
71
.config/ohmyposh/zen.toml
Normal file
@@ -0,0 +1,71 @@
|
||||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
final_space = true
|
||||
version = 3
|
||||
|
||||
[palette]
|
||||
os = "#4c4f69"
|
||||
closer = "p:os"
|
||||
pink = "#dd7878"
|
||||
lavender = "#7287FD"
|
||||
blue = "#209fb5"
|
||||
green = "#40a02b"
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "p:os"
|
||||
style = "plain"
|
||||
template = "{{.Icon}} "
|
||||
type = "os"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "p:lavender"
|
||||
style = "plain"
|
||||
template = "{{ .UserName }} "
|
||||
type = "session"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "p:pink"
|
||||
style = "plain"
|
||||
template = "{{ .Path }}"
|
||||
type = "path"
|
||||
[blocks.segments.properties]
|
||||
style = "full"
|
||||
home_icon = "~"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "p:lavender"
|
||||
template = "{{ .HEAD }} "
|
||||
style = "plain"
|
||||
type = "git"
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = " "
|
||||
cherry_pick_icon = " "
|
||||
commit_icon = " "
|
||||
fetch_status = false
|
||||
fetch_upstream_icon = false
|
||||
merge_icon = " "
|
||||
no_commits_icon = " "
|
||||
rebase_icon = " "
|
||||
revert_icon = " "
|
||||
tag_icon = " "
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
style = "plain"
|
||||
foreground = "p:green"
|
||||
template = "-"
|
||||
type = "text"
|
||||
|
||||
[transient_prompt]
|
||||
background = "transparent"
|
||||
foreground = "p:pink"
|
||||
template = " - "
|
||||
|
||||
74
.config/ohmyposh/zen.toml.bak
Normal file
74
.config/ohmyposh/zen.toml.bak
Normal 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 = '❯❯ '
|
||||
Reference in New Issue
Block a user