-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Xdefaults
145 lines (118 loc) · 4.44 KB
/
.Xdefaults
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
135
136
137
138
139
140
141
142
143
144
145
! Perl extension config
! URxvt.perl-ext: tabbed
URxvt.saveLines: 65536
URxvt.scrollWithBuffer: true
URxvt.scrollBar: false
URxvt.scrollBar_right: true
URxvt.scrollTtyOutput: false
! Key Bindings
! ============
! Copy/Paste, same keys as gnome-terminal
! https://stackoverflow.com/questions/39884093
! Disable ISO 14755 unicode input so we can use Ctrl-Shift bindings
URxvt.iso14755: false
URxvt.iso14755_52: false
! Disable Ctrl-Alt-c & Ctrl-Alt-v bindings (optional)
URxvt.keysym.C-M-c: builtin-string:
URxvt.keysym.C-M-v: builtin-string:
URxvt.keysym.Control-Left: \033[1;5D
URxvt.keysym.Control-Right: \033[1;5C
! URxvt.keysym.C-Left: builtin-string:
! URxvt.keysym.C-Right: builtin-string:
! Bind Ctrl-Shift-c & Ctrl-Shift-v to copy and paste
! I dont know why, but I needed to use hex keysym values to get it to work
URxvt.keysym.C-S-0x43: eval:selection_to_clipboard
URxvt.keysym.C-S-0x56: eval:paste_clipboard
URxvt.urlLauncher: firefox
URxvt.underlineURLs: true
URxvt.urlButton: 1
!URxvt.keysym.Home: \033[H
!URxvt.keysym.End: \033[F
URxvt.kuake.hotkey: F10
! clear the scrollback
URxvt.keysym.Control-k: command:\033c
! scroll single line
URxvt.keysym.C-A-Up: command:\033]720;1\007
URxvt.keysym.C-A-K: command:\033]720;1\007
URxvt.keysym.Control-K: command:\000
URxvt.keysym.C-S-Up: command:\033]720;1\007
URxvt.keysym.C-Up: command:\033]720;10\007
URxvt.keysym.C-Down: command:\033]721;10\007
URxvt.keysym.C-A-Down: command:\033]721;1\007
URxvt.keysym.C-A-J: command:\033]721;1\007
URxvt.keysym.C-S-Down: command:\033]721;1\007
! URxvt.keysym.C-S-Down: perl:pagedown
! scale fonts
URxvt.keysym.C-S-plus: font-size:increase
URxvt.keysym.C-KP_Add: font-size:increase
URxvt.keysym.C-S-underscore: font-size:decrease
URxvt.keysym.C-KP_Subtract: font-size:decrease
URxvt.keysym.C-0: font-size:reset
URxvt.keysym.C-KP_0: font-size:reset
! Theme/Colors
! ============
!#define font1 Inconsolata LGC
!#define font1 Inconsolata Nerd Font Mono Regular
#define font1 Iosevka Nerd Font
#define font2 Inconsolata Nerd Font
#define font3 DejaVu Sans Mono Nerd Font
#define font4 Noto Sans Mono CJK JP
URxvt*letterSpace: 0
URxvt*font: xft:font1:pixelsize=16:minspace=False, xft:font2:pixelsize=14:minspace=False, xft:font3:pixelsize=14,xft:font4:pixelsize=14
!XTerm.vt100.faceName: xft:font1:pixelsize=16:minspace=False, xft:font2:pixelsize=14:minspace=False, xft:font3:pixelsize=14,xft:font4:pixelsize=14
URxvt*boldFont: xft:font1:bold:pixelsize=16:minspace=False, xft:font2:pixelsize=14:minspace=False,xft:font3:pixelsize=14,xft:font4:pixelsize=14
URxvt*italicFont: xft:font1:italic:pixelsize=16:minspace=False, xft:font2:pixelsize=14:minspace=False,xft:font3:pixelsize=14,xft:font4:pixelsize=14
URxvt*boldItalicFont: xft:font1:bold:italic:pixelsize=16:minspace=False, xft:font2:pixelsize=14:minspace=False, xft:font3:pixelsize=14, xft:font4:pixelsize=14
URxvt.internalBorder: 10
!*.font: xft:Iosevka Nerd Font:size=16:minspace=False,xft:DejaVu Sans:pixelsize=12:minspace=False
! *.font: xft:Iosevka Nerd Font Complete:style=Regular,size=14
!*.boldFont: xft:Iosevka Term SS03:size=14, Iosevka Term SS03 Medium:style=Medium,size=14
!*.italicFont: xft:Iosevka Term SS03:style=Italic,size=14
!*.boldItalicFont: xft:Iosevka Term SS03:size=14,style=Bold Italic ,Iosevka Term SS03 Bold Oblique:style=Bold Oblique,size=14
URxvt.allow_bold: false
URxvt.lineSpace: 1
URxvt*inheritPixmap: true
URxvt*transparent: true
URxvt*shading: 180
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintfull
Xft.rgba: rgb
URxvt.fading: 0
URxvt.cursorColor: #AAAAAA
URxvt.cursorBlink: 0
URxvt*depth: 32
URxvt*background: rgba:0000/0000/0000/bbbb
URxvt.foreground: rgba:cccc/cccc/cccc/ffff
!! Tango Colors
!
!! black dark/light
URxvt.color0: #171A1B
URxvt.color8: #555753
!! red dark/light
URxvt.color1: #CC0000
URxvt.color9: #FF0000
!! green dark/light
URxvt.color2: #00DD00
URxvt.color10: #00FF00
!! yellow dark/light
URxvt.color3: #DDDD00
URxvt.color11: #FFFF00
!! blue dark/light
URxvt.color4: #8888FF
URxvt.color12: #AAAAFF
!! magenta dark/light
URxvt.color5: #75507B
URxvt.color13: #AD7FA8
!! cyan dark/light
URxvt.color6: #06989A
URxvt.color14: #34E2E2
!! white dark/light
URxvt.color7: #D3D7CF
URxvt.color15: #EEEEEC
! Tabbed config
URxvt.tabbed.disable-shift-down: false
URxvt.tabbed.tabcmds.1: N|shell
URxvt.tabbed.tabcmds.2: R|root|su -
! not working on this version of tabbed: URxvt.tabbed.reopen-on-close: yes