my dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add custom oh-my-posh themes and remove legacy plugins

+500
+36
themes/custom/agnoster.yml
··· 1 + # yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json 2 + 3 + blocks: 4 + - type: prompt 5 + alignment: left 6 + segments: 7 + - properties: 8 + max_depth: 6 9 + style: agnoster_short 10 + template: " {{ .Path }} " 11 + foreground: "15" 12 + powerline_symbol:  13 + background: "0" 14 + type: path 15 + style: powerline 16 + - properties: 17 + branch_icon: " \ue0a0 " 18 + branch_identical_icon: "" 19 + fetch_bare_info: true 20 + fetch_status: true 21 + source: cli 22 + template: "{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }} " 23 + foreground: "#193549" 24 + powerline_symbol:  25 + background: "#03FF7F" 26 + type: git 27 + style: powerline 28 + foreground_templates: 29 + - "{{ if gt .Ahead 0 }}52{{ end }}" 30 + background_templates: 31 + - "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}" 32 + - "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#80fff9{{ end }}" 33 + - "{{ if gt .Ahead 0 }}1{{ end }}" 34 + - "{{ if gt .Behind 0 }}#B388FB{{ end }}" 35 + version: 3 36 + final_space: true
+243
themes/spaceship.omp.json
··· 1 + { 2 + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", 3 + "blocks": [ 4 + { 5 + "type": "rprompt", 6 + "alignment": "right", 7 + "segments": [ 8 + { 9 + "properties": { 10 + "always_enabled": false 11 + }, 12 + "template": "\uf0e7 {{ .String }}", 13 + "type": "status", 14 + "style": "plain", 15 + "foreground_templates": [ 16 + "{{ if .Error }}lightRed{{ end }}" 17 + ] 18 + }, 19 + { 20 + "foreground": "lightRed", 21 + "type": "upgrade", 22 + "style": "plain" 23 + } 24 + ] 25 + }, 26 + { 27 + "type": "prompt", 28 + "alignment": "left", 29 + "segments": [ 30 + { 31 + "properties": { 32 + "style": "folder" 33 + }, 34 + "template": "<b>{{ .Path }}</b> ", 35 + "foreground": "cyan", 36 + "type": "path", 37 + "style": "plain" 38 + }, 39 + { 40 + "properties": { 41 + "branch_icon": " \ue0a0 ", 42 + "branch_identical_icon": "", 43 + "fetch_bare_info": true, 44 + "fetch_status": true, 45 + "mapped_branches": { 46 + "bug/*": "🐛 ", 47 + "feat/*": "\ud83d\ude80 " 48 + }, 49 + "source": "cli" 50 + }, 51 + "template": "<b><#ffffff>in</>{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}</b> ", 52 + "foreground": "#ff94df", 53 + "type": "git", 54 + "style": "plain", 55 + "foreground_templates": [ 56 + "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}", 57 + "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}", 58 + "{{ if gt .Ahead 0 }}#B388FF{{ end }}", 59 + "{{ if gt .Behind 0 }}#B388FB{{ end }}" 60 + ] 61 + }, 62 + { 63 + "template": "<b><#ffffff>is</> {{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }}\ued75 {{.Version}}{{ end }}{{ end }}</b> ", 64 + "foreground": "red", 65 + "type": "project", 66 + "style": "plain" 67 + }, 68 + { 69 + "properties": { 70 + "extensions": [ 71 + "package-lock.json" 72 + ] 73 + }, 74 + "template": "<b><#ffffff>with</> \udb82\udf15 {{ .Full }}</b> ", 75 + "foreground": "red", 76 + "type": "npm", 77 + "style": "plain" 78 + }, 79 + { 80 + "properties": { 81 + "extensions": [ 82 + "yarn.lock" 83 + ] 84 + }, 85 + "template": "<b><#ffffff>with</> \udb80\udd1b {{ .Full }}</b> ", 86 + "foreground": "#9555BB", 87 + "type": "yarn", 88 + "style": "plain" 89 + }, 90 + { 91 + "properties": { 92 + "extensions": [ 93 + "pnpm-lock.yaml" 94 + ] 95 + }, 96 + "template": "<b><#ffffff>with</> \udb82\udf17 {{ .Full }}</b> ", 97 + "foreground": "#F69220", 98 + "type": "pnpm", 99 + "style": "plain" 100 + }, 101 + { 102 + "template": "<b><#ffffff>via</> \u2b22 {{ .Full }}</b> ", 103 + "foreground": "green", 104 + "type": "node", 105 + "style": "plain" 106 + }, 107 + { 108 + "properties": { 109 + "extensions": [ 110 + "deno.json" 111 + ] 112 + }, 113 + "template": "<b><#ffffff>via</> 🦕 {{ .Full }}</b> ", 114 + "foreground": "#439EB6", 115 + "type": "deno", 116 + "style": "plain" 117 + }, 118 + { 119 + "properties": { 120 + "extensions": [ 121 + "next.config.js", 122 + "vite.config.ts", 123 + "tailwind.config.*" 124 + ] 125 + }, 126 + "template": "<b><#ffffff>with</> \ue7ba {{ .Full }}</b> ", 127 + "foreground": "#81a1c1", 128 + "type": "react", 129 + "style": "plain" 130 + }, 131 + { 132 + "template": "<b><#ffffff>via</> \udb84\udc62 {{.WorkspaceName}}</b> ", 133 + "foreground": "#7B42BC", 134 + "type": "terraform", 135 + "style": "plain" 136 + }, 137 + { 138 + "template": "<b><#ffffff>on</> \udb82\udd67 {{ .Project }}</b> ", 139 + "foreground": "#FFA000", 140 + "type": "firebase", 141 + "style": "plain" 142 + }, 143 + { 144 + "template": "<b><#ffffff>via</> 🍞 {{ .Full }}</b> ", 145 + "foreground": "#F6F1E9", 146 + "type": "bun", 147 + "style": "plain" 148 + }, 149 + { 150 + "template": "<b><#ffffff>via</> 🦀 {{ .Full }}</b> ", 151 + "foreground": "red", 152 + "type": "rust", 153 + "style": "plain" 154 + }, 155 + { 156 + "properties": { 157 + "fetch_version": false 158 + }, 159 + "template": "<b><#ffffff>via</> \ue634</b> ", 160 + "foreground": "#CB1DEE", 161 + "type": "kotlin", 162 + "style": "plain" 163 + }, 164 + { 165 + "template": "<b><#ffffff>via</> \ue791 {{ .Full }}</b> ", 166 + "foreground": "#CC342D", 167 + "type": "ruby", 168 + "style": "plain" 169 + }, 170 + { 171 + "template": "<b><#ffffff>via</> \ue620 {{ .Full }}</b> ", 172 + "foreground": "#3b3beb", 173 + "type": "lua", 174 + "style": "plain" 175 + }, 176 + { 177 + "template": "<b><#ffffff>via</> \ue235 {{ .Full }}</b> ", 178 + "foreground": "#3676AB", 179 + "type": "python", 180 + "style": "plain" 181 + }, 182 + { 183 + "template": "<b><#ffffff>via</> 🐹 {{ .Full }}</b> ", 184 + "foreground": "#79D4FD", 185 + "type": "go", 186 + "style": "plain" 187 + }, 188 + { 189 + "template": "<b><#ffffff>on</> \udb82\udc68 v27.3.1 ({{ .Context }})</b> ", 190 + "foreground": "cyan", 191 + "type": "docker", 192 + "style": "plain" 193 + }, 194 + { 195 + "properties": { 196 + "style": "austin", 197 + "threshold": 2500 198 + }, 199 + "template": "<#ffffff>in</> {{ .FormattedMs }} ", 200 + "foreground": "lightYellow", 201 + "type": "executiontime", 202 + "style": "plain" 203 + } 204 + ], 205 + "newline": true 206 + }, 207 + { 208 + "type": "prompt", 209 + "alignment": "left", 210 + "segments": [ 211 + { 212 + "properties": { 213 + "charging_icon": "\uf0e7 ", 214 + "discharging_icon": "\u21e3", 215 + "not_charging_icon": "\udb80\udc83 " 216 + }, 217 + "template": "{{ if le .Percentage 20 }}{{ if not .Error }}{{ .Icon }}{{ .Percentage }}% {{ end }}{{ end }}", 218 + "type": "battery", 219 + "style": "plain", 220 + "foreground_templates": [ 221 + "{{if eq \"Charging\" .State.String}}{{ if le .Percentage 10 }}#ff5722{{else}}#FFFF00{{end}}{{end}}", 222 + "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}" 223 + ] 224 + }, 225 + { 226 + "properties": { 227 + "always_enabled": true 228 + }, 229 + "template": "<b>➜</b>", 230 + "foreground": "lightGreen", 231 + "type": "status", 232 + "style": "plain", 233 + "foreground_templates": [ 234 + "{{ if .Error }}lightRed{{ end }}" 235 + ] 236 + } 237 + ], 238 + "newline": true 239 + } 240 + ], 241 + "version": 3, 242 + "final_space": true 243 + }
+221
themes/spaceship.tmux.json
··· 1 + { 2 + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", 3 + "blocks": [ 4 + { 5 + "type": "rprompt", 6 + "alignment": "right", 7 + "segments": [ 8 + { 9 + "properties": { 10 + "always_enabled": false 11 + }, 12 + "template": "\uf0e7 {{ .String }}", 13 + "type": "status", 14 + "style": "plain", 15 + "foreground_templates": ["{{ if .Error }}lightRed{{ end }}"] 16 + }, 17 + { 18 + "foreground": "lightRed", 19 + "type": "upgrade", 20 + "style": "plain" 21 + } 22 + ] 23 + }, 24 + { 25 + "type": "prompt", 26 + "alignment": "left", 27 + "segments": [ 28 + { 29 + "properties": { 30 + "style": "folder" 31 + }, 32 + "template": "\n<b>{{ .Path }}</b> ", 33 + "foreground": "cyan", 34 + "type": "path", 35 + "style": "plain" 36 + }, 37 + { 38 + "properties": { 39 + "branch_icon": " \ue0a0 ", 40 + "branch_identical_icon": "", 41 + "fetch_bare_info": true, 42 + "fetch_status": true, 43 + "mapped_branches": { 44 + "bug/*": "🐛 ", 45 + "feat/*": "\ud83d\ude80 " 46 + }, 47 + "source": "cli" 48 + }, 49 + "template": "<b><#ffffff>in</>{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}</b> ", 50 + "foreground": "#ff94df", 51 + "type": "git", 52 + "style": "plain", 53 + "foreground_templates": [ 54 + "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}", 55 + "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}", 56 + "{{ if gt .Ahead 0 }}#B388FF{{ end }}", 57 + "{{ if gt .Behind 0 }}#B388FB{{ end }}" 58 + ] 59 + }, 60 + { 61 + "template": "<b><#ffffff>is</> {{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }}\ued75 {{.Version}}{{ end }}{{ end }}</b> ", 62 + "foreground": "red", 63 + "type": "project", 64 + "style": "plain" 65 + }, 66 + { 67 + "properties": { 68 + "extensions": ["package-lock.json"] 69 + }, 70 + "template": "<b><#ffffff>with</> \udb82\udf15 {{ .Full }}</b> ", 71 + "foreground": "red", 72 + "type": "npm", 73 + "style": "plain" 74 + }, 75 + { 76 + "properties": { 77 + "extensions": ["yarn.lock"] 78 + }, 79 + "template": "<b><#ffffff>with</> \udb80\udd1b {{ .Full }}</b> ", 80 + "foreground": "#9555BB", 81 + "type": "yarn", 82 + "style": "plain" 83 + }, 84 + { 85 + "properties": { 86 + "extensions": ["pnpm-lock.yaml"] 87 + }, 88 + "template": "<b><#ffffff>with</> \udb82\udf17 {{ .Full }}</b> ", 89 + "foreground": "#F69220", 90 + "type": "pnpm", 91 + "style": "plain" 92 + }, 93 + { 94 + "template": "<b><#ffffff>via</> \u2b22 {{ .Full }}</b> ", 95 + "foreground": "green", 96 + "type": "node", 97 + "style": "plain" 98 + }, 99 + { 100 + "properties": { 101 + "extensions": ["deno.json"] 102 + }, 103 + "template": "<b><#ffffff>via</> 🦕 {{ .Full }}</b> ", 104 + "foreground": "#439EB6", 105 + "type": "deno", 106 + "style": "plain" 107 + }, 108 + { 109 + "properties": { 110 + "extensions": ["next.config.js", "vite.config.ts", "tailwind.config.*"] 111 + }, 112 + "template": "<b><#ffffff>with</> \ue7ba {{ .Full }}</b> ", 113 + "foreground": "#81a1c1", 114 + "type": "react", 115 + "style": "plain" 116 + }, 117 + { 118 + "template": "<b><#ffffff>via</> \udb84\udc62 {{.WorkspaceName}}</b> ", 119 + "foreground": "#7B42BC", 120 + "type": "terraform", 121 + "style": "plain" 122 + }, 123 + { 124 + "template": "<b><#ffffff>on</> \udb82\udd67 {{ .Project }}</b> ", 125 + "foreground": "#FFA000", 126 + "type": "firebase", 127 + "style": "plain" 128 + }, 129 + { 130 + "template": "<b><#ffffff>via</> 🍞 {{ .Full }}</b> ", 131 + "foreground": "#F6F1E9", 132 + "type": "bun", 133 + "style": "plain" 134 + }, 135 + { 136 + "template": "<b><#ffffff>via</> 🦀 {{ .Full }}</b> ", 137 + "foreground": "red", 138 + "type": "rust", 139 + "style": "plain" 140 + }, 141 + { 142 + "properties": { 143 + "fetch_version": false 144 + }, 145 + "template": "<b><#ffffff>via</> \ue634</b> ", 146 + "foreground": "#CB1DEE", 147 + "type": "kotlin", 148 + "style": "plain" 149 + }, 150 + { 151 + "template": "<b><#ffffff>via</> \ue791 {{ .Full }}</b> ", 152 + "foreground": "#CC342D", 153 + "type": "ruby", 154 + "style": "plain" 155 + }, 156 + { 157 + "template": "<b><#ffffff>via</> \ue620 {{ .Full }}</b> ", 158 + "foreground": "#3b3beb", 159 + "type": "lua", 160 + "style": "plain" 161 + }, 162 + { 163 + "template": "<b><#ffffff>via</> \ue235 {{ .Full }}</b> ", 164 + "foreground": "#3676AB", 165 + "type": "python", 166 + "style": "plain" 167 + }, 168 + { 169 + "template": "<b><#ffffff>via</> 🐹 {{ .Full }}</b> ", 170 + "foreground": "#79D4FD", 171 + "type": "go", 172 + "style": "plain" 173 + }, 174 + { 175 + "properties": { 176 + "style": "austin", 177 + "threshold": 2500 178 + }, 179 + "template": "<#ffffff>in</> {{ .FormattedMs }} ", 180 + "foreground": "lightYellow", 181 + "type": "executiontime", 182 + "style": "plain" 183 + } 184 + ], 185 + "newline": true 186 + }, 187 + { 188 + "type": "prompt", 189 + "alignment": "left", 190 + "segments": [ 191 + { 192 + "properties": { 193 + "charging_icon": "\uf0e7 ", 194 + "discharging_icon": "\u21e3", 195 + "not_charging_icon": "\udb80\udc83 " 196 + }, 197 + "template": "{{ if le .Percentage 20 }}{{ if not .Error }}{{ .Icon }}{{ .Percentage }}% {{ end }}{{ end }}", 198 + "type": "battery", 199 + "style": "plain", 200 + "foreground_templates": [ 201 + "{{if eq \"Charging\" .State.String}}{{ if le .Percentage 10 }}#ff5722{{else}}#FFFF00{{end}}{{end}}", 202 + "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}" 203 + ] 204 + }, 205 + { 206 + "properties": { 207 + "always_enabled": true 208 + }, 209 + "template": "<b>➜</b>", 210 + "foreground": "lightGreen", 211 + "type": "status", 212 + "style": "plain", 213 + "foreground_templates": ["{{ if .Error }}lightRed{{ end }}"] 214 + } 215 + ], 216 + "newline": true 217 + } 218 + ], 219 + "version": 3, 220 + "final_space": true 221 + }