@heyitsiveen/dotfiles 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +176 -0
- package/dist/index.mjs +1445 -0
- package/dotfiles/macos/.claude/CLAUDE.md +13 -0
- package/dotfiles/macos/.claude/settings.json +38 -0
- package/dotfiles/macos/.claude.json +32 -0
- package/dotfiles/macos/.config/bat/config +27 -0
- package/dotfiles/macos/.config/bat/themes/Vercel.tmTheme +308 -0
- package/dotfiles/macos/.config/bat/themes/Vesper.tmTheme +357 -0
- package/dotfiles/macos/.config/btop/btop.conf +272 -0
- package/dotfiles/macos/.config/btop/themes/Solarized_Dark.theme +89 -0
- package/dotfiles/macos/.config/btop/themes/Vercel.theme +89 -0
- package/dotfiles/macos/.config/btop/themes/Vesper.theme +89 -0
- package/dotfiles/macos/.config/fish/conf.d/00-platform.fish +19 -0
- package/dotfiles/macos/.config/fish/conf.d/10-homebrew.fish +33 -0
- package/dotfiles/macos/.config/fish/conf.d/20-environment.fish +12 -0
- package/dotfiles/macos/.config/fish/conf.d/30-aliases.fish +52 -0
- package/dotfiles/macos/.config/fish/conf.d/40-fzf.fish +120 -0
- package/dotfiles/macos/.config/fish/conf.d/50-tools.fish +51 -0
- package/dotfiles/macos/.config/fish/conf.d/60-tmux.fish +19 -0
- package/dotfiles/macos/.config/fish/conf.d/70-tide.fish +31 -0
- package/dotfiles/macos/.config/fish/config.fish +30 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_heyitsiveen.fish +101 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_vercel.fish +94 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_vesper.fish +100 -0
- package/dotfiles/macos/.config/fish/functions/backup.fish +43 -0
- package/dotfiles/macos/.config/fish/functions/fish_greeting.fish +5 -0
- package/dotfiles/macos/.config/fish/functions/reload-fish.fish +4 -0
- package/dotfiles/macos/.config/fish/functions/tide_palette.fish +21 -0
- package/dotfiles/macos/.config/ghostty/config +46 -0
- package/dotfiles/macos/.config/nvim/.neoconf.json +15 -0
- package/dotfiles/macos/.config/nvim/init.lua +2 -0
- package/dotfiles/macos/.config/nvim/lazy-lock.json +42 -0
- package/dotfiles/macos/.config/nvim/lazyvim.json +11 -0
- package/dotfiles/macos/.config/nvim/lua/config/autocmds.lua +8 -0
- package/dotfiles/macos/.config/nvim/lua/config/keymaps.lua +21 -0
- package/dotfiles/macos/.config/nvim/lua/config/lazy.lua +72 -0
- package/dotfiles/macos/.config/nvim/lua/config/options.lua +13 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/colorscheme.lua +12 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/editor.lua +366 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/example.lua +197 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/mason.lua +11 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/oxc.lua +64 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/ui.lua +123 -0
- package/dotfiles/macos/.config/nvim/stylua.toml +3 -0
- package/dotfiles/macos/.config/ripgrep/config +9 -0
- package/dotfiles/macos/.config/tmux/STATUSBAR REFERENCE.md +1183 -0
- package/dotfiles/macos/.config/tmux/keybinds.conf +124 -0
- package/dotfiles/macos/.config/tmux/notifications.conf +39 -0
- package/dotfiles/macos/.config/tmux/pane.conf +33 -0
- package/dotfiles/macos/.config/tmux/popup-window.conf +27 -0
- package/dotfiles/macos/.config/tmux/statusbar.conf +281 -0
- package/dotfiles/macos/.config/tmux/tmux.conf +94 -0
- package/dotfiles/macos/.config/wezterm/wezterm.lua +143 -0
- package/dotfiles/windows/.claude/CLAUDE.md +13 -0
- package/dotfiles/windows/.claude/settings.json +38 -0
- package/dotfiles/windows/.claude.json +32 -0
- package/dotfiles/windows/.config/bat/config +27 -0
- package/dotfiles/windows/.config/bat/themes/Vercel.tmTheme +308 -0
- package/dotfiles/windows/.config/bat/themes/Vesper.tmTheme +357 -0
- package/dotfiles/windows/.config/btop/btop.conf +251 -0
- package/dotfiles/windows/.config/btop/themes/Solarized_Dark.theme +89 -0
- package/dotfiles/windows/.config/btop/themes/Vercel.theme +89 -0
- package/dotfiles/windows/.config/btop/themes/Vesper.theme +89 -0
- package/dotfiles/windows/.config/nvim/.neoconf.json +15 -0
- package/dotfiles/windows/.config/nvim/init.lua +2 -0
- package/dotfiles/windows/.config/nvim/lazy-lock.json +42 -0
- package/dotfiles/windows/.config/nvim/lazyvim.json +11 -0
- package/dotfiles/windows/.config/nvim/lua/config/autocmds.lua +8 -0
- package/dotfiles/windows/.config/nvim/lua/config/keymaps.lua +21 -0
- package/dotfiles/windows/.config/nvim/lua/config/lazy.lua +72 -0
- package/dotfiles/windows/.config/nvim/lua/config/options.lua +13 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/colorscheme.lua +12 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/editor.lua +366 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/example.lua +197 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/mason.lua +11 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/oxc.lua +64 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/ui.lua +123 -0
- package/dotfiles/windows/.config/nvim/stylua.toml +3 -0
- package/dotfiles/windows/.config/omp-themes/solarized-dark.omp.toml +197 -0
- package/dotfiles/windows/.config/omp-themes/vercel.omp.toml +197 -0
- package/dotfiles/windows/.config/omp-themes/vesper.omp.toml +197 -0
- package/dotfiles/windows/.config/ripgrep/config +9 -0
- package/dotfiles/windows/.config/wezterm/wezterm.lua +88 -0
- package/dotfiles/windows/powershell/Profile.ps1 +36 -0
- package/dotfiles/windows/powershell/functions/Switch-PromptPalette.ps1 +37 -0
- package/dotfiles/windows/powershell/functions/backup.ps1 +39 -0
- package/dotfiles/windows/powershell/functions/reload-shell.ps1 +8 -0
- package/dotfiles/windows/powershell/modules/aliases.ps1 +44 -0
- package/dotfiles/windows/powershell/modules/environment.ps1 +13 -0
- package/dotfiles/windows/powershell/modules/fzf.ps1 +82 -0
- package/dotfiles/windows/powershell/modules/prompt.ps1 +25 -0
- package/dotfiles/windows/powershell/modules/tools.ps1 +52 -0
- package/package.json +72 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
return {
|
|
2
|
+
-- messages, cmdline and the popupmenu
|
|
3
|
+
{
|
|
4
|
+
"folke/noice.nvim",
|
|
5
|
+
opts = function(_, opts)
|
|
6
|
+
table.insert(opts.routes, {
|
|
7
|
+
filter = {
|
|
8
|
+
event = "notify",
|
|
9
|
+
find = "No information available",
|
|
10
|
+
},
|
|
11
|
+
opts = { skip = true },
|
|
12
|
+
})
|
|
13
|
+
local focused = true
|
|
14
|
+
vim.api.nvim_create_autocmd("FocusGained", {
|
|
15
|
+
callback = function()
|
|
16
|
+
focused = true
|
|
17
|
+
end,
|
|
18
|
+
})
|
|
19
|
+
vim.api.nvim_create_autocmd("FocusLost", {
|
|
20
|
+
callback = function()
|
|
21
|
+
focused = false
|
|
22
|
+
end,
|
|
23
|
+
})
|
|
24
|
+
table.insert(opts.routes, 1, {
|
|
25
|
+
filter = {
|
|
26
|
+
cond = function()
|
|
27
|
+
return not focused
|
|
28
|
+
end,
|
|
29
|
+
},
|
|
30
|
+
view = "notify_send",
|
|
31
|
+
opts = { stop = false },
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
opts.commands = {
|
|
35
|
+
all = {
|
|
36
|
+
-- options for the message history that you get with `:Noice`
|
|
37
|
+
view = "split",
|
|
38
|
+
opts = { enter = true, format = "details" },
|
|
39
|
+
filter = {},
|
|
40
|
+
},
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
vim.api.nvim_create_autocmd("FileType", {
|
|
44
|
+
pattern = "markdown",
|
|
45
|
+
callback = function(event)
|
|
46
|
+
vim.schedule(function()
|
|
47
|
+
require("noice.text.markdown").keys(event.buf)
|
|
48
|
+
end)
|
|
49
|
+
end,
|
|
50
|
+
})
|
|
51
|
+
|
|
52
|
+
opts.presets.lsp_doc_border = true
|
|
53
|
+
end,
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
-- buffer line
|
|
57
|
+
{
|
|
58
|
+
"akinsho/bufferline.nvim",
|
|
59
|
+
event = "VeryLazy",
|
|
60
|
+
keys = {
|
|
61
|
+
{ "<Tab>", "<Cmd>BufferLineCycleNext<CR>", desc = "Next tab" },
|
|
62
|
+
{ "<S-Tab>", "<Cmd>BufferLineCyclePrev<CR>", desc = "Prev tab" },
|
|
63
|
+
},
|
|
64
|
+
opts = {
|
|
65
|
+
options = {
|
|
66
|
+
mode = "tabs",
|
|
67
|
+
-- separator_style = "slant",
|
|
68
|
+
show_buffer_close_icons = false,
|
|
69
|
+
show_close_icon = false,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
-- filename
|
|
75
|
+
{
|
|
76
|
+
"b0o/incline.nvim",
|
|
77
|
+
dependencies = { "craftzdog/solarized-osaka.nvim" },
|
|
78
|
+
event = "BufReadPre",
|
|
79
|
+
priority = 1200,
|
|
80
|
+
config = function()
|
|
81
|
+
local colors = require("solarized-osaka.colors").setup()
|
|
82
|
+
require("incline").setup({
|
|
83
|
+
highlight = {
|
|
84
|
+
groups = {
|
|
85
|
+
InclineNormal = { guibg = colors.magenta500, guifg = colors.base04 },
|
|
86
|
+
InclineNormalNC = { guifg = colors.violet500, guibg = colors.base03 },
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
window = { margin = { vertical = 0, horizontal = 1 } },
|
|
90
|
+
hide = {
|
|
91
|
+
cursorline = true,
|
|
92
|
+
},
|
|
93
|
+
render = function(props)
|
|
94
|
+
local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ":t")
|
|
95
|
+
if vim.bo[props.buf].modified then
|
|
96
|
+
filename = "[+] " .. filename
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
local icon, color = require("nvim-web-devicons").get_icon_color(filename)
|
|
100
|
+
return { { icon, guifg = color }, { " " }, { filename } }
|
|
101
|
+
end,
|
|
102
|
+
})
|
|
103
|
+
end,
|
|
104
|
+
},
|
|
105
|
+
|
|
106
|
+
{
|
|
107
|
+
"folke/snacks.nvim",
|
|
108
|
+
opts = {
|
|
109
|
+
dashboard = {
|
|
110
|
+
preset = {
|
|
111
|
+
header = [[
|
|
112
|
+
██╗ ██╗███████╗██╗ ██╗██╗████████╗███████╗██╗██╗ ██╗███████╗███████╗███╗ ██╗
|
|
113
|
+
██║ ██║██╔════╝╚██╗ ██╔╝██║╚══██╔══╝██╔════╝██║██║ ██║██╔════╝██╔════╝████╗ ██║
|
|
114
|
+
███████║█████╗ ╚████╔╝ ██║ ██║ ███████╗██║██║ ██║█████╗ █████╗ ██╔██╗ ██║
|
|
115
|
+
██╔══██║██╔══╝ ╚██╔╝ ██║ ██║ ╚════██║██║╚██╗ ██╔╝██╔══╝ ██╔══╝ ██║╚██╗██║
|
|
116
|
+
██║ ██║███████╗ ██║ ██║ ██║ ███████║██║ ╚████╔╝ ███████╗███████╗██║ ╚████║
|
|
117
|
+
╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══════╝╚══════╝╚═╝ ╚═══╝
|
|
118
|
+
]],
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
|
2
|
+
console_title_template = "{{ .Shell }} in {{ .Folder }}"
|
|
3
|
+
final_space = true
|
|
4
|
+
version = 3
|
|
5
|
+
|
|
6
|
+
[[blocks]]
|
|
7
|
+
alignment = "left"
|
|
8
|
+
type = "prompt"
|
|
9
|
+
|
|
10
|
+
[[blocks.segments]]
|
|
11
|
+
type = "os"
|
|
12
|
+
background = "#EEE8D5"
|
|
13
|
+
foreground = "#002B36"
|
|
14
|
+
style = "diamond"
|
|
15
|
+
leading_diamond = "\ue0b2"
|
|
16
|
+
template = " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
|
17
|
+
|
|
18
|
+
[[blocks.segments]]
|
|
19
|
+
type = "session"
|
|
20
|
+
background = "#EEE8D5"
|
|
21
|
+
foreground = "#002B36"
|
|
22
|
+
style = "powerline"
|
|
23
|
+
template = "{{ .UserName }} "
|
|
24
|
+
|
|
25
|
+
[[blocks.segments]]
|
|
26
|
+
type = "text"
|
|
27
|
+
background = "#93A1A1"
|
|
28
|
+
foreground = "#002B36"
|
|
29
|
+
style = "powerline"
|
|
30
|
+
powerline_symbol = "\ue0b0"
|
|
31
|
+
template = "<parentBackground></>"
|
|
32
|
+
|
|
33
|
+
[[blocks.segments]]
|
|
34
|
+
type = "text"
|
|
35
|
+
background = "#657B83"
|
|
36
|
+
foreground = "#002B36"
|
|
37
|
+
style = "powerline"
|
|
38
|
+
powerline_symbol = "\ue0b0"
|
|
39
|
+
template = "<parentBackground></>"
|
|
40
|
+
|
|
41
|
+
[[blocks.segments]]
|
|
42
|
+
type = "text"
|
|
43
|
+
background = "#EEE8D5"
|
|
44
|
+
foreground = "#002B36"
|
|
45
|
+
style = "diamond"
|
|
46
|
+
leading_diamond = "<transparent>\ue0b0</>"
|
|
47
|
+
template = " \uf07c "
|
|
48
|
+
|
|
49
|
+
[[blocks.segments]]
|
|
50
|
+
background = "#002B36"
|
|
51
|
+
foreground = "#93A1A1"
|
|
52
|
+
style = "powerline"
|
|
53
|
+
powerline_symbol = "\ue0b0"
|
|
54
|
+
template = " {{ .Path }} "
|
|
55
|
+
type = "path"
|
|
56
|
+
|
|
57
|
+
[blocks.segments.properties]
|
|
58
|
+
style = "folder"
|
|
59
|
+
folder_separator_icon = " \ue0b1 "
|
|
60
|
+
home_icon = "~"
|
|
61
|
+
|
|
62
|
+
[[blocks.segments]]
|
|
63
|
+
type = "git"
|
|
64
|
+
background = "#EEE8D5"
|
|
65
|
+
background_templates = [
|
|
66
|
+
"{{ if or (.Working.Changed) (.Staging.Changed) }}#859900{{ end }}",
|
|
67
|
+
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#DC322F{{ end }}",
|
|
68
|
+
"{{ if gt .Ahead 0 }}#DC322F{{ end }}",
|
|
69
|
+
"{{ if gt .Behind 0 }}#DC322F{{ end }}"
|
|
70
|
+
]
|
|
71
|
+
foreground = "#002B36"
|
|
72
|
+
leading_diamond = "<transparent>\ue0b0</>"
|
|
73
|
+
style = "diamond"
|
|
74
|
+
template = "{{ .UpstreamIcon }} {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} "
|
|
75
|
+
trailing_diamond = "\ue0b0"
|
|
76
|
+
|
|
77
|
+
[blocks.segments.properties]
|
|
78
|
+
branch_max_length = 25
|
|
79
|
+
fetch_stash_count = true
|
|
80
|
+
fetch_status = true
|
|
81
|
+
fetch_upstream_icon = true
|
|
82
|
+
|
|
83
|
+
[[blocks]]
|
|
84
|
+
alignment = "right"
|
|
85
|
+
type = "prompt"
|
|
86
|
+
|
|
87
|
+
[[blocks.segments]]
|
|
88
|
+
type = "react"
|
|
89
|
+
background = "#6C71C4"
|
|
90
|
+
foreground = "#002B36"
|
|
91
|
+
style = "powerline"
|
|
92
|
+
powerline_symbol = "\ue0b2"
|
|
93
|
+
invert_powerline = true
|
|
94
|
+
template = " \ue7ba {{ .Full }} "
|
|
95
|
+
|
|
96
|
+
[[blocks.segments]]
|
|
97
|
+
type = "tauri"
|
|
98
|
+
background = "#CB4B16"
|
|
99
|
+
foreground = "#002B36"
|
|
100
|
+
style = "powerline"
|
|
101
|
+
powerline_symbol = "\ue0b2"
|
|
102
|
+
invert_powerline = true
|
|
103
|
+
template = " \ue8bb {{ .Full }} "
|
|
104
|
+
|
|
105
|
+
[[blocks.segments]]
|
|
106
|
+
type = "rust"
|
|
107
|
+
background = "#DC322F"
|
|
108
|
+
foreground = "#002B36"
|
|
109
|
+
style = "powerline"
|
|
110
|
+
powerline_symbol = "\ue0b2"
|
|
111
|
+
invert_powerline = true
|
|
112
|
+
template = " \ue7a8 {{ .Full }} "
|
|
113
|
+
|
|
114
|
+
[[blocks.segments]]
|
|
115
|
+
type = "go"
|
|
116
|
+
background = "#6C71C4"
|
|
117
|
+
foreground = "#002B36"
|
|
118
|
+
style = "powerline"
|
|
119
|
+
powerline_symbol = "\ue0b2"
|
|
120
|
+
invert_powerline = true
|
|
121
|
+
template = " \ue627 {{ .Full }} "
|
|
122
|
+
|
|
123
|
+
[[blocks.segments]]
|
|
124
|
+
type = "lua"
|
|
125
|
+
background = "#6C71C4"
|
|
126
|
+
foreground = "#002B36"
|
|
127
|
+
style = "powerline"
|
|
128
|
+
powerline_symbol = "\ue0b2"
|
|
129
|
+
invert_powerline = true
|
|
130
|
+
template = " \ue620 {{ .Full }} "
|
|
131
|
+
|
|
132
|
+
[[blocks.segments]]
|
|
133
|
+
type = "node"
|
|
134
|
+
background = "#002B36"
|
|
135
|
+
foreground = "#93A1A1"
|
|
136
|
+
style = "diamond"
|
|
137
|
+
leading_diamond = "\ue0b2"
|
|
138
|
+
template = "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
|
139
|
+
trailing_diamond = "<transparent,#002B36>\ue0b2</>"
|
|
140
|
+
|
|
141
|
+
[blocks.segments.properties]
|
|
142
|
+
fetch_package_manager = true
|
|
143
|
+
npm_icon = " <#859900>\uE71E</> "
|
|
144
|
+
bun_icon = " <#93A1A1>\ue76f</> "
|
|
145
|
+
pnpm_icon = " <#B58900>\ue865</> "
|
|
146
|
+
|
|
147
|
+
[[blocks.segments]]
|
|
148
|
+
type = "claude"
|
|
149
|
+
background = "#B58900"
|
|
150
|
+
foreground = "#002B36"
|
|
151
|
+
style = "diamond"
|
|
152
|
+
leading_diamond = "\ue0b2"
|
|
153
|
+
template = " \uee0d {{ .Model.DisplayName }} \uf2d0 {{ .TokenUsagePercent.Gauge }} "
|
|
154
|
+
trailing_diamond = "<transparent,#B58900>\ue0b2</>"
|
|
155
|
+
|
|
156
|
+
[[blocks.segments]]
|
|
157
|
+
type = "text"
|
|
158
|
+
background = "#657B83"
|
|
159
|
+
foreground = "#002B36"
|
|
160
|
+
style = "powerline"
|
|
161
|
+
powerline_symbol = "\ue0b2"
|
|
162
|
+
invert_powerline = true
|
|
163
|
+
template = "<parentBackground></>"
|
|
164
|
+
|
|
165
|
+
[[blocks.segments]]
|
|
166
|
+
type = "text"
|
|
167
|
+
background = "#93A1A1"
|
|
168
|
+
foreground = "#002B36"
|
|
169
|
+
style = "powerline"
|
|
170
|
+
powerline_symbol = "\ue0b2"
|
|
171
|
+
invert_powerline = true
|
|
172
|
+
template = "<parentBackground></>"
|
|
173
|
+
|
|
174
|
+
[[blocks.segments]]
|
|
175
|
+
type = "time"
|
|
176
|
+
background = "#EEE8D5"
|
|
177
|
+
foreground = "#002B36"
|
|
178
|
+
style = "diamond"
|
|
179
|
+
template = " \uf4ab {{ .CurrentDate | date .Format }} "
|
|
180
|
+
trailing_diamond = "\ue0b0"
|
|
181
|
+
|
|
182
|
+
[[blocks]]
|
|
183
|
+
alignment = "left"
|
|
184
|
+
newline = true
|
|
185
|
+
type = "prompt"
|
|
186
|
+
|
|
187
|
+
[[blocks.segments]]
|
|
188
|
+
type = "status"
|
|
189
|
+
foreground = "#859900"
|
|
190
|
+
foreground_templates = [
|
|
191
|
+
"{{ if gt .Code 0 }}#DC322F{{ end }}"
|
|
192
|
+
]
|
|
193
|
+
style = "plain"
|
|
194
|
+
template = "\u276f"
|
|
195
|
+
|
|
196
|
+
[blocks.segments.properties]
|
|
197
|
+
always_enabled = true
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
|
2
|
+
console_title_template = "{{ .Shell }} in {{ .Folder }}"
|
|
3
|
+
final_space = true
|
|
4
|
+
version = 3
|
|
5
|
+
|
|
6
|
+
[[blocks]]
|
|
7
|
+
alignment = "left"
|
|
8
|
+
type = "prompt"
|
|
9
|
+
|
|
10
|
+
[[blocks.segments]]
|
|
11
|
+
type = "os"
|
|
12
|
+
background = "#FAFAFA"
|
|
13
|
+
foreground = "#101010"
|
|
14
|
+
style = "diamond"
|
|
15
|
+
leading_diamond = "\ue0b2"
|
|
16
|
+
template = " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
|
17
|
+
|
|
18
|
+
[[blocks.segments]]
|
|
19
|
+
type = "session"
|
|
20
|
+
background = "#FAFAFA"
|
|
21
|
+
foreground = "#101010"
|
|
22
|
+
style = "powerline"
|
|
23
|
+
template = "{{ .UserName }} "
|
|
24
|
+
|
|
25
|
+
[[blocks.segments]]
|
|
26
|
+
type = "text"
|
|
27
|
+
background = "#C8C8C8"
|
|
28
|
+
foreground = "#101010"
|
|
29
|
+
style = "powerline"
|
|
30
|
+
powerline_symbol = "\ue0b0"
|
|
31
|
+
template = "<parentBackground></>"
|
|
32
|
+
|
|
33
|
+
[[blocks.segments]]
|
|
34
|
+
type = "text"
|
|
35
|
+
background = "#969696"
|
|
36
|
+
foreground = "#101010"
|
|
37
|
+
style = "powerline"
|
|
38
|
+
powerline_symbol = "\ue0b0"
|
|
39
|
+
template = "<parentBackground></>"
|
|
40
|
+
|
|
41
|
+
[[blocks.segments]]
|
|
42
|
+
type = "text"
|
|
43
|
+
background = "#FAFAFA"
|
|
44
|
+
foreground = "#101010"
|
|
45
|
+
style = "diamond"
|
|
46
|
+
leading_diamond = "<transparent>\ue0b0</>"
|
|
47
|
+
template = " \uf07c "
|
|
48
|
+
|
|
49
|
+
[[blocks.segments]]
|
|
50
|
+
background = "#171717"
|
|
51
|
+
foreground = "#FAFAFA"
|
|
52
|
+
style = "powerline"
|
|
53
|
+
powerline_symbol = "\ue0b0"
|
|
54
|
+
template = " {{ .Path }} "
|
|
55
|
+
type = "path"
|
|
56
|
+
|
|
57
|
+
[blocks.segments.properties]
|
|
58
|
+
style = "folder"
|
|
59
|
+
folder_separator_icon = " \ue0b1 "
|
|
60
|
+
home_icon = "~"
|
|
61
|
+
|
|
62
|
+
[[blocks.segments]]
|
|
63
|
+
type = "git"
|
|
64
|
+
background = "#FAFAFA"
|
|
65
|
+
background_templates = [
|
|
66
|
+
"{{ if or (.Working.Changed) (.Staging.Changed) }}#29A948{{ end }}",
|
|
67
|
+
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FC0036{{ end }}",
|
|
68
|
+
"{{ if gt .Ahead 0 }}#FC0036{{ end }}",
|
|
69
|
+
"{{ if gt .Behind 0 }}#FC0036{{ end }}"
|
|
70
|
+
]
|
|
71
|
+
foreground = "#101010"
|
|
72
|
+
leading_diamond = "<transparent>\ue0b0</>"
|
|
73
|
+
style = "diamond"
|
|
74
|
+
template = "{{ .UpstreamIcon }} {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} "
|
|
75
|
+
trailing_diamond = "\ue0b0"
|
|
76
|
+
|
|
77
|
+
[blocks.segments.properties]
|
|
78
|
+
branch_max_length = 25
|
|
79
|
+
fetch_stash_count = true
|
|
80
|
+
fetch_status = true
|
|
81
|
+
fetch_upstream_icon = true
|
|
82
|
+
|
|
83
|
+
[[blocks]]
|
|
84
|
+
alignment = "right"
|
|
85
|
+
type = "prompt"
|
|
86
|
+
|
|
87
|
+
[[blocks.segments]]
|
|
88
|
+
type = "react"
|
|
89
|
+
background = "#666666"
|
|
90
|
+
foreground = "#101010"
|
|
91
|
+
style = "powerline"
|
|
92
|
+
powerline_symbol = "\ue0b2"
|
|
93
|
+
invert_powerline = true
|
|
94
|
+
template = " \ue7ba {{ .Full }} "
|
|
95
|
+
|
|
96
|
+
[[blocks.segments]]
|
|
97
|
+
type = "tauri"
|
|
98
|
+
background = "#FAFAFA"
|
|
99
|
+
foreground = "#101010"
|
|
100
|
+
style = "powerline"
|
|
101
|
+
powerline_symbol = "\ue0b2"
|
|
102
|
+
invert_powerline = true
|
|
103
|
+
template = " \ue8bb {{ .Full }} "
|
|
104
|
+
|
|
105
|
+
[[blocks.segments]]
|
|
106
|
+
type = "rust"
|
|
107
|
+
background = "#FC0036"
|
|
108
|
+
foreground = "#101010"
|
|
109
|
+
style = "powerline"
|
|
110
|
+
powerline_symbol = "\ue0b2"
|
|
111
|
+
invert_powerline = true
|
|
112
|
+
template = " \ue7a8 {{ .Full }} "
|
|
113
|
+
|
|
114
|
+
[[blocks.segments]]
|
|
115
|
+
type = "go"
|
|
116
|
+
background = "#666666"
|
|
117
|
+
foreground = "#101010"
|
|
118
|
+
style = "powerline"
|
|
119
|
+
powerline_symbol = "\ue0b2"
|
|
120
|
+
invert_powerline = true
|
|
121
|
+
template = " \ue627 {{ .Full }} "
|
|
122
|
+
|
|
123
|
+
[[blocks.segments]]
|
|
124
|
+
type = "lua"
|
|
125
|
+
background = "#666666"
|
|
126
|
+
foreground = "#101010"
|
|
127
|
+
style = "powerline"
|
|
128
|
+
powerline_symbol = "\ue0b2"
|
|
129
|
+
invert_powerline = true
|
|
130
|
+
template = " \ue620 {{ .Full }} "
|
|
131
|
+
|
|
132
|
+
[[blocks.segments]]
|
|
133
|
+
type = "node"
|
|
134
|
+
background = "#171717"
|
|
135
|
+
foreground = "#FAFAFA"
|
|
136
|
+
style = "diamond"
|
|
137
|
+
leading_diamond = "\ue0b2"
|
|
138
|
+
template = "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
|
139
|
+
trailing_diamond = "<transparent,#171717>\ue0b2</>"
|
|
140
|
+
|
|
141
|
+
[blocks.segments.properties]
|
|
142
|
+
fetch_package_manager = true
|
|
143
|
+
npm_icon = " <#29A948>\uE71E</> "
|
|
144
|
+
bun_icon = " <#FAFAFA>\ue76f</> "
|
|
145
|
+
pnpm_icon = " <#FAFAFA>\ue865</> "
|
|
146
|
+
|
|
147
|
+
[[blocks.segments]]
|
|
148
|
+
type = "claude"
|
|
149
|
+
background = "#FAFAFA"
|
|
150
|
+
foreground = "#101010"
|
|
151
|
+
style = "diamond"
|
|
152
|
+
leading_diamond = "\ue0b2"
|
|
153
|
+
template = " \uee0d {{ .Model.DisplayName }} \uf2d0 {{ .TokenUsagePercent.Gauge }} "
|
|
154
|
+
trailing_diamond = "<transparent,#FAFAFA>\ue0b2</>"
|
|
155
|
+
|
|
156
|
+
[[blocks.segments]]
|
|
157
|
+
type = "text"
|
|
158
|
+
background = "#969696"
|
|
159
|
+
foreground = "#101010"
|
|
160
|
+
style = "powerline"
|
|
161
|
+
powerline_symbol = "\ue0b2"
|
|
162
|
+
invert_powerline = true
|
|
163
|
+
template = "<parentBackground></>"
|
|
164
|
+
|
|
165
|
+
[[blocks.segments]]
|
|
166
|
+
type = "text"
|
|
167
|
+
background = "#C8C8C8"
|
|
168
|
+
foreground = "#101010"
|
|
169
|
+
style = "powerline"
|
|
170
|
+
powerline_symbol = "\ue0b2"
|
|
171
|
+
invert_powerline = true
|
|
172
|
+
template = "<parentBackground></>"
|
|
173
|
+
|
|
174
|
+
[[blocks.segments]]
|
|
175
|
+
type = "time"
|
|
176
|
+
background = "#FAFAFA"
|
|
177
|
+
foreground = "#101010"
|
|
178
|
+
style = "diamond"
|
|
179
|
+
template = " \uf4ab {{ .CurrentDate | date .Format }} "
|
|
180
|
+
trailing_diamond = "\ue0b0"
|
|
181
|
+
|
|
182
|
+
[[blocks]]
|
|
183
|
+
alignment = "left"
|
|
184
|
+
newline = true
|
|
185
|
+
type = "prompt"
|
|
186
|
+
|
|
187
|
+
[[blocks.segments]]
|
|
188
|
+
type = "status"
|
|
189
|
+
foreground = "#29A948"
|
|
190
|
+
foreground_templates = [
|
|
191
|
+
"{{ if gt .Code 0 }}#FC0036{{ end }}"
|
|
192
|
+
]
|
|
193
|
+
style = "plain"
|
|
194
|
+
template = "\u276f"
|
|
195
|
+
|
|
196
|
+
[blocks.segments.properties]
|
|
197
|
+
always_enabled = true
|