Skip to content

Commit 022b019

Browse files
committed
chore: add cyberpunk theme with neon colors and multiline prompt
1 parent 737cc3b commit 022b019

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

themes/cyberpunk.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"name": "cyberpunk",
3+
"description": "A multiline cyberpunk-themed prompt with neon colors and futuristic design",
4+
"colors": {
5+
"reset": "\u001b[0m",
6+
"primary": "\u001b[1;38;5;123m",
7+
"secondary": "\u001b[1;38;5;205m",
8+
"error": "\u001b[1;38;5;196m",
9+
"warning": "\u001b[1;38;5;220m",
10+
"info": "\u001b[1;38;5;51m",
11+
"success": "\u001b[1;38;5;118m",
12+
"black": "\u001b[38;5;16m",
13+
"gray": "\u001b[38;5;240m"
14+
},
15+
"prompt": {
16+
"left": {
17+
"format": "{primary}┌─[{secondary}サイバー{primary}]─[{info}{directory}{primary}]─[{secondary}{time}{primary}]{git_branch}\n{primary}└─({username}@{hostname}){primary} {icon} {reset}",
18+
"icon": "Ψ"
19+
},
20+
"right": {
21+
"format": ""
22+
},
23+
"multiline": true,
24+
"prompt_symbol": "",
25+
"prompt_symbol_color": "secondary"
26+
},
27+
"segments": {
28+
"git_branch": {
29+
"enabled": true,
30+
"format": "{primary}─[{warning}git:({branch}){dirty_flag}{primary}]",
31+
"commands": {
32+
"branch": "git branch --show-current 2>/dev/null",
33+
"dirty_flag": "git status --porcelain 2>/dev/null | awk '{print \"*\"; exit}'"
34+
}
35+
},
36+
"git_branch_formatted": {
37+
"enabled": true,
38+
"format": "{output}",
39+
"commands": {
40+
"output": "git branch --show-current 2>/dev/null | awk '{if ($0) print \"{primary}─[{warning}git:(\"{$0}\"){primary}]\";}'"
41+
}
42+
},
43+
"directory": {
44+
"format": "{directory}",
45+
"commands": {
46+
"directory": "pwd | sed \"s|$HOME|~|\""
47+
}
48+
},
49+
"username": {
50+
"format": "{username}",
51+
"commands": {
52+
"username": "whoami"
53+
}
54+
},
55+
"hostname": {
56+
"format": "{hostname}",
57+
"commands": {
58+
"hostname": "hostname -s"
59+
}
60+
},
61+
"time": {
62+
"format": "{time}",
63+
"commands": {
64+
"time": "date +\"%H:%M:%S\""
65+
}
66+
}
67+
}
68+
}

0 commit comments

Comments
 (0)