forked from jameslikeslinux/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Xresources.erb
48 lines (46 loc) · 1.67 KB
/
.Xresources.erb
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
<% require 'colorscheme'
dark = ColorScheme.dark
gui_scaling_factor = @facts['scaling'] ? @facts['scaling']['gui'] : 1
dark.terminal.each do |c| -%>
*color<%= c.ansi %>: <%= c.x11 %>
<% end -%>
*foreground: <%= dark.colors_by_base[0x06].x11 %>
*background: <%= dark.colors_by_base[0x01].x11 %>
*borderColor: <%= dark.colors_by_base[0x03].x11 %>
<% 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 %>
URxvt.font: xft:Hack:size=9,xft:DejaVu Sans Mono
URxvt.internalBorder: <%= (2 * gui_scaling_factor).round %>
URxvt.perl-ext-common: font-size,new-window,osc-xterm-clipboard
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
URxvt.keysym.C-M-0: perl:font-size:reset
URxvt.keysym.C-M-n: perl:new-window
URxvt.saveLines: 10000
URxvt.scrollBar: false
URxvt.scrollTtyOutput: false
URxvt.scrollWithBuffer: true
URxvt.scrollTtyKeypress: true
URxvt.secondaryScroll: false
URxvt.secondaryWheel: true
URxvt.termName: rxvt-unicode-256color-powerline
URxvt.urgentOnBell: true
URxvt.letterSpace: -1
<% 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 %>
xterm*termName: xterm-256color-powerline
xterm*faceName: monospace
xterm*faceSize: 9
xterm*internalBorder: <%= (2 * gui_scaling_factor).round %>
xterm*saveLines: 10000