mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
General updates
This commit is contained in:
parent
668ceb06a4
commit
974ce7f7fc
8 changed files with 323 additions and 86 deletions
|
|
@ -8,4 +8,4 @@ Import-Module posh-git
|
|||
# Install-Module -Name oh-my-posh
|
||||
Import-module oh-my-posh
|
||||
#Set-Theme Paradox
|
||||
Set-Theme beantest
|
||||
Set-PoshPrompt -Theme ~/.oh-my-posh.omp.json
|
||||
|
|
|
|||
234
link/nix/oh-my-posh.omp.json
Normal file
234
link/nix/oh-my-posh.omp.json
Normal file
|
|
@ -0,0 +1,234 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"background": "#c386f1",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "",
|
||||
"properties": {
|
||||
"display_host": false,
|
||||
"postfix": " "
|
||||
},
|
||||
"style": "diamond",
|
||||
"trailing_diamond": "",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"background": "#ff479c",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"folder_separator_icon": " ",
|
||||
"home_icon": "~",
|
||||
"prefix": " ",
|
||||
"style": "folder"
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"background": "#fffb38",
|
||||
"foreground": "#193549",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"ahead_and_behind_color": "#f26d50",
|
||||
"ahead_color": "#89d1dc",
|
||||
"behind_color": "#f17c37",
|
||||
"display_stash_count": true,
|
||||
"display_upstream_icon": true,
|
||||
"local_changes_color": "#ff9248",
|
||||
"stash_count_icon": " ",
|
||||
"status_colors_enabled": true
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"background": "#6CA35E",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"display_version": true,
|
||||
"prefix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"background": "#8ED1F7",
|
||||
"foreground": "#111111",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"display_version": true,
|
||||
"prefix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "go"
|
||||
},
|
||||
{
|
||||
"background": "#4063D8",
|
||||
"foreground": "#111111",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"display_version": true,
|
||||
"prefix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "julia"
|
||||
},
|
||||
{
|
||||
"background": "#FFDE57",
|
||||
"foreground": "#111111",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"display_mode": "files",
|
||||
"display_version": true,
|
||||
"display_virtual_env": false,
|
||||
"prefix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "python"
|
||||
},
|
||||
{
|
||||
"background": "#AE1401",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"display_mode": "files",
|
||||
"display_version": true,
|
||||
"prefix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "ruby"
|
||||
},
|
||||
{
|
||||
"background": "#FEAC19",
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"display_mode": "files",
|
||||
"display_version": false,
|
||||
"prefix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "azfunc"
|
||||
},
|
||||
{
|
||||
"background_templates": [
|
||||
"{{if contains \"default\" .Profile}}#FFA400{{end}}",
|
||||
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
|
||||
],
|
||||
"foreground": "#ffffff",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"display_default": false,
|
||||
"prefix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "aws"
|
||||
},
|
||||
{
|
||||
"background": "#ffff66",
|
||||
"foreground": "#111111",
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"root_icon": ""
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "root"
|
||||
},
|
||||
{
|
||||
"background": "#83769c",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"prefix": "<transparent></> 羽"
|
||||
},
|
||||
"style": "plain",
|
||||
"trailing_diamond": "",
|
||||
"type": "executiontime"
|
||||
},
|
||||
{
|
||||
"background": "#2e9599",
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "",
|
||||
"properties": {
|
||||
"always_enabled": true,
|
||||
"color_background": true,
|
||||
"display_exit_code": false,
|
||||
"error_color": "#f1184c",
|
||||
"prefix": "<#83769c></> "
|
||||
},
|
||||
"style": "diamond",
|
||||
"trailing_diamond": "",
|
||||
"type": "exit"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"segments": [
|
||||
{
|
||||
"background": "#0077c2",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"postfix": " <transparent,#0077c2></>",
|
||||
"prefix": "<#0077c2,transparent></> "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"background": "#1BD760",
|
||||
"foreground": "#111111",
|
||||
"invert_powerline": true,
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"paused_icon": " ",
|
||||
"playing_icon": " ",
|
||||
"prefix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "ytm"
|
||||
},
|
||||
{
|
||||
"background": "#f36943",
|
||||
"foreground": "#ffffff",
|
||||
"invert_powerline": true,
|
||||
"powerline_symbol": "",
|
||||
"properties": {
|
||||
"battery_icon": "",
|
||||
"charged_color": "#4caf50",
|
||||
"charged_icon": " ",
|
||||
"charging_color": "#40c4ff",
|
||||
"charging_icon": " ",
|
||||
"color_background": true,
|
||||
"discharging_color": "#ff5722",
|
||||
"discharging_icon": " ",
|
||||
"postfix": " "
|
||||
},
|
||||
"style": "powerline",
|
||||
"type": "battery"
|
||||
},
|
||||
{
|
||||
"background": "#2e9599",
|
||||
"foreground": "#111111",
|
||||
"invert_powerline": true,
|
||||
"leading_diamond": "",
|
||||
"style": "diamond",
|
||||
"trailing_diamond": "",
|
||||
"type": "time"
|
||||
}
|
||||
],
|
||||
"type": "rprompt"
|
||||
}
|
||||
],
|
||||
"console_title": true,
|
||||
"console_title_style": "template",
|
||||
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
|
||||
"final_space": true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue