-
Notifications
You must be signed in to change notification settings - Fork 0
/
varsrc
89 lines (79 loc) · 1.2 KB
/
varsrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
## vim: set fenc=utf-8 ts=2 sw=0 sts=0 sr et si tw=0 fdm=marker fmr={{{,}}} ft=zsh:
##
## varsrc by Andy3153
## created 13/03/24 ~ 16:22:45
##
# {{{ Theming
# {{{ Fallback values
declare -A syms=(
root ""
ssh ""
)
declare -A col=(
gitStatus ""
)
declare -A git=(
branch ""
)
declare -A cmdTime=(
format ""
preExecTime ""
)
declare -A PE
# }}}
# {{{ Colors
declare -A F=(
blk "%F{0}"
red "%F{1}"
grn "%F{2}"
ylw "%F{3}"
blu "%F{4}"
mgt "%F{5}"
cyn "%F{6}"
wht "%F{7}"
bblk "%F{8}"
bred "%F{9}"
bgrn "%F{10}"
bylw "%F{11}"
bblu "%F{12}"
bmgt "%F{13}"
bcyn "%F{14}"
bwht "%F{15}"
)
declare -A K=(
blk "%K{0}"
red "%K{1}"
grn "%K{2}"
ylw "%K{3}"
blu "%K{4}"
mgt "%K{5}"
cyn "%K{6}"
wht "%K{7}"
bblk "%K{8}"
bred "%K{9}"
bgrn "%K{10}"
bylw "%K{11}"
bblu "%K{12}"
bmgt "%K{13}"
bcyn "%K{14}"
bwht "%K{15}"
)
# }}}
# {{{ Special characters
declare -A char=(
arrowL ""
arrowR ""
circleL ""
circleR ""
dots "…"
error " "
file " "
folder " "
git ""
nix " "
root " "
ssh " "
time " "
)
# }}}
# }}}