.Xresources.erb 1.5 KB
Newer Older
1
<% require 'colorscheme'
2
3
4
dark  = ColorScheme.dark
light = ColorScheme.light
light.terminal.each do |c| -%>
5
*color<%= c.ansi %>: <%= c.x11 %>
6
<% end -%>
7
8
9
*foreground: <%= light.colors_by_base[0x06].x11 %>
*background: <%= light.colors_by_base[0x01].x11 %>
*borderColor: <%= light.colors_by_base[0x03].x11 %>
10

11
12
13
14
15
16
17
<% dark.terminal.each do |c| -%>
URxvt.color<%= c.ansi %>: <%= c.x11 %>
<% end -%>
URxvt.foreground: <%= dark.foreground.x11 %>
URxvt.background: <%= dark.background.x11 %>
URxvt.borderColor: <%= dark.background.x11 %>
URxvt.cursorColor: <%= dark.cursor.x11 %>
18
URxvt.font: xft:Hack:size=9,xft:DejaVu Sans Mono
19
URxvt.perl-ext-common: font-size,new-window,osc-xterm-clipboard
20
21
22
URxvt.keysym.C-M-equal: perl:font-size:increase
URxvt.keysym.C-M-plus: perl:font-size:increase
URxvt.keysym.C-M-minus: perl:font-size:decrease
23
URxvt.keysym.C-M-0: perl:font-size:reset
24
URxvt.keysym.C-M-n: perl:new-window
25
URxvt.saveLines: 10000
26
URxvt.scrollBar: false
James T. Lee's avatar
James T. Lee committed
27
28
29
URxvt.scrollTtyOutput: false
URxvt.scrollWithBuffer: true
URxvt.scrollTtyKeypress: true
30
URxvt.secondaryScroll: false
James T. Lee's avatar
James T. Lee committed
31
URxvt.secondaryWheel: true
James T. Lee's avatar
James T. Lee committed
32
URxvt.termName: rxvt-unicode-256color-powerline
James T. Lee's avatar
James T. Lee committed
33
URxvt.urgentOnBell: true
34

35
36
37
38
39
40
41
<% dark.terminal.each do |c| -%>
xterm*color<%= c.ansi %>: <%= c.x11 %>
<% end -%>
xterm*foreground: <%= dark.foreground.x11 %>
xterm*background: <%= dark.background.x11 %>
xterm*borderColor: <%= dark.background.x11 %>
xterm*cursorColor: <%= dark.cursor.x11 %>
James T. Lee's avatar
James T. Lee committed
42
xterm*termName: xterm-256color-powerline
43
44
xterm*faceName: monospace
xterm*faceSize: 9
45
xterm*saveLines: 10000