-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.conf
134 lines (111 loc) · 4.2 KB
/
config.conf
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Place in /etc/git-heatgrid/config.conf for system wide configuration.
# Place in ~/.config/git-heatgrid/config.conf for per-user configuration.
# Show number of commits
config_show_commits=false
# Show the legend
config_show_legend=false
# Show days of month
config_show_days_of_month=false
# Show years without commits
config_show_empty_years=true
# Years to display, 0 - all
config_years=0
# Default authors, e.g. ("johndoe@example.com")
config_authors=()
# Default committers, e.g. ("johndoe@example.com" "janedoe@example.com")
config_committers=()
# Weeks start on, available values: 1 .. 7, 1 is Monday and 7 is Sunday
config_weeks_start=1
# Cell width, available values: 2, 3
config_cell_width=2
# Default repository path
config_repo_path="."
# Default theme
config_theme_name="dark"
# Gap between months
config_months_gap=0
# Breakpoints multiplier, first two breakpoints aren't affected by the multiplier
config_breakpoints_multiplier=1
#####################################################################
# TEXT
#####################################################################
i18n_day_of_week=("Mon" "Tue" "Wed" "Thu" "Fri" "Sat" "Sun")
i18n_months=("Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec")
i18n_search_no_result="Nothing found"
i18n_author="Author"
i18n_committer="Committer"
i18n_legend_title="COMMITS"
#####################################################################
# THEMES
# Use `declare -A theme_mytheme=(...)` to declare NEW theme
# Colors defined as escape codes - https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
# All symbols truncated to $config_cell_width characters
#####################################################################
# declare -A theme_mytheme=(
# # Color breakpoints separated by a SINGLE space, first two values must be 0 and 1
# [color_breakpoints]="0 1 2 4 8 16"
# # Colors for each breakpoint (0 1 2 ... 16) separated by a SINGLE space
# [color_commits]="\e[38;5;245m \e[30m\e[48;5;118m \e[30m\e[48;5;40m \e[30m\e[48;5;34m \e[30m\e[48;5;29m \e[38;5;35m\e[48;5;22m"
# # Color for future dates
# [color_future]="\e[38;5;239m"
# # Year color
# [color_year]="\e[1;97;44m"
# # Color of the padding cells (cells that belong to the prev/next year)
# [color_year_padding]=""
# # Color of the months names
# [color_month]=""
# # Color of the day of week names (Monday, Tuesday, etc)
# [color_dow]="\e[38;5;245m"
# # Color of the author/committer title
# [color_author]="\e[1;32m"
# # Symbol for the cells with no commits
# [symbol_no_commits]="· "
# # Symbol for the cells with one or more commits
# [symbol_has_commits]=" "
# # Symbol for the cells with future date
# [symbol_future]="· "
# # Symbol for the year paddings
# [symbol_year_padding]=" "
# )
theme_dark=(
[color_breakpoints]="0 1 2 4 8 16"
[color_commits]="\e[38;5;245m \e[30m\e[48;5;118m \e[30m\e[48;5;40m \e[30m\e[48;5;34m \e[30m\e[48;5;29m \e[38;5;35m\e[48;5;22m"
[color_future]="\e[38;5;239m"
[color_year]="\e[1;97;44m"
[color_year_padding]=""
[color_month]=""
[color_dow]="\e[38;5;245m"
[color_author]="\e[1;32m"
[symbol_no_commits]="· "
[symbol_has_commits]=" "
[symbol_future]="· "
[symbol_year_padding]=" "
)
theme_light=(
[color_breakpoints]="0 1 2 4 8 16"
[color_commits]="\e[38;5;242m \e[30m\e[48;5;151m \e[30m\e[48;5;149m \e[30m\e[48;5;71m \e[30m\e[48;5;28m \e[38;5;71m\e[48;5;22m"
[color_future]="\e[38;5;252m"
[color_year]="\e[1m\e[48;5;99m\e[38;5;231m"
[color_year_padding]=""
[color_month]="\e[30m"
[color_dow]="\e[38;5;245m"
[color_author]="\e[1;32m"
[symbol_no_commits]="· "
[symbol_has_commits]=" "
[symbol_future]="· "
[symbol_year_padding]=" "
)
theme_8colors=(
[color_breakpoints]="0 1 2 4 8 16 24 32"
[color_commits]="\e[37m \e[30;47m \e[30;46m \e[30;45m \e[30;44m \e[30;43m \e[30;42m \e[30;41m"
[color_future]="\e[2m"
[color_year]="\e[37;44m"
[color_year_padding]=""
[color_month]=""
[color_dow]="\e[2m"
[color_author]="\e[32m"
[symbol_no_commits]="· "
[symbol_has_commits]=" "
[symbol_future]="· "
[symbol_year_padding]=" "
)