chiark / gitweb /
gitk: light on dark
[ian-dotfiles.git] / templates / gitk.in
1 #!/bin/bash
2 set -e
3 . infra/template
4
5 case "$font" in
6 zealot)
7         cat <<END
8 set mainfont {Helvetica 14}
9 set textfont {Courier 14}
10 set uifont {Helvetica 14 bold}
11 END
12         ;;
13 *)
14         cat <<END
15 set mainfont {{Bitstream Vera Sans} 8}
16 set textfont fixed
17 set uifont {Helvetica 9 bold}
18 END
19         ;;
20 esac
21
22 cat <<END
23 set tabstop 8
24 set findmergefiles 0
25 set maxgraphpct 50
26 set maxwidth 16
27 set cmitmode patch
28 set wrapcomment none
29 set autoselect 1
30 set autosellen 40
31 set showneartags 1
32 set hideremotes 0
33 set showlocalchanges 1
34 set datetimeformat {%Y-%m-%d %H:%M:%S}
35 set limitdiffs 1
36 set uicolor grey85
37 set want_ttk 1
38 set bgcolor #000000
39 set fgcolor #ffffff
40 set uifgcolor black
41 set uifgdisabledcolor #999
42 set colors {green red blue magenta darkgrey brown orange}
43 set diffcolors {{#ff8888} #88ff88 #8080ff}
44 set mergecolors {red blue green purple brown "#009090" magenta "#808000" "#009000" "#ff0080" cyan "#b07070" "#70b0f0" "#70f0b0" "#f0b070" "#ff70b0"}
45 set markbgcolor #e0e0ff
46 set diffcontext 3
47 set selectbgcolor #333366
48 set foundbgcolor yellow
49 set currentsearchhitbgcolor orange
50 set extdifftool meld
51 set perfile_attrs 0
52 set headbgcolor #00ff00
53 set headfgcolor black
54 set headoutlinecolor black
55 set remotebgcolor #ffddaa
56 set tagbgcolor yellow
57 set tagfgcolor black
58 set tagoutlinecolor black
59 set reflinecolor black
60 set filesepbgcolor #aaaaaa
61 set filesepfgcolor black
62 set linehoverbgcolor #ffff80
63 set linehoverfgcolor black
64 set linehoveroutlinecolor black
65 set mainheadcirclecolor yellow
66 set workingfilescirclecolor red
67 set indexcirclecolor green
68 set circlecolors {white blue gray blue blue}
69 set linkfgcolor blue
70 set circleoutlinecolor black
71 set permviews {}
72 END