-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXresources
136 lines (128 loc) · 4.05 KB
/
Xresources
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
! Solarized colorscheme for Xresources
! ====================================
!
! To choose between light/dark bakground:
! - Define the choice in ``.Xresources`` by hardcoding
! #define SOLARIZED_LIGHT
! or
! #define SOLARIZED_DARK
! - Define the symbol when loading ``.Xresources`` with ``xrdb``:
! $ xrdb -DSOLARIZED_LIGHT -merge ~/.Xresources
#if !defined(SOLARIZED_LIGHT) && !defined(SOLARIZED_DARK)
#define SOLARIZED_DARK
#elif defined(SOLARIZED_LIGHT) && defined(SOLARIZED_DARK)
#undef SOLARIZED_LIGHT
#endif
! Define Solarized colors
! -----------------------
#define S_base03 #002b36
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #657b83
#define S_base0 #839496
#define S_base1 #93a1a1
#define S_base2 #eee8d5
#define S_base3 #fdf6e3
#define S_yellow #b58900
#define S_orange #cb4b16
#define S_red #dc322f
#define S_magenta #d33682
#define S_violet #6c71c4
#define S_blue #268bd2
#define S_cyan #2aa198
#define S_green #859900
#ifdef SOLARIZED_LIGHT
#define S_emph S_base01
#define S_primary S_base00
#define S_secondary S_base1
#define S_bgrnd_hi S_base2
#define S_bgrnd S_base3
#endif
#ifdef SOLARIZED_DARK
#define S_emph S_base1
#define S_primary S_base0
#define S_secondary S_base01
#define S_bgrnd_hi S_base02
#define S_bgrnd S_base03
#endif
! black dark/light
*color0: S_base02
*color8: S_base03
! red dark/light
*color1: S_red
*color9: S_orange
! green dark/light
*color2: S_green
*color10: S_base01
! yellow dark/light
*color3: S_yellow
*color11: S_base00
! blue dark/light
*color4: S_blue
*color12: S_base0
! magenta dark/light
*color5: S_magenta
*color13: S_violet
! cyan dark/light
*color6: S_cyan
*color14: S_base1
! white dark/light
*color7: S_base2
*color15: S_base3
! General Xresource settings
! ==========================
!
!#define FONT_REGULAR xft:Liberation Mono:style=Regular:pixelsize=13
!#define FONT_BOLD xft:Liberation Mono:style=Bold:pixelsize=13
!#define FONT_ITALIC xft:Liberation Mono:style=Italic:pixelsize=13
!#define FONT_REGULAR -*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*
#define FONT_REGULAR xft:xos4 Terminess Powerline:style=Regular:pixelsize=15:antialias=true
#define FONT_BOLD -*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*
#define FONT_ITALIC -*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*
Xft*antialias: true
*foreground: S_primary
*background: S_bgrnd
*Foreground: S_primary
*Background: S_bgrnd
*cursorColor: S_emph
*pointerColorForeground: S_emph
*pointerColorBackground: S_secondary
*fading: 40
*fadeColor: S_bgrnd
! rxvt-unicode terminal
! =====================
!
URxvt*background: S_bgrnd
URxvt*foreground: S_primary
URxvt*font: FONT_REGULAR
!URxvt*boldFont: FONT_BOLD
!URxvt*italicFont: FONT_ITALIC
URxvt.colorIT: S_magenta
URxvt.colorBD: S_green
URxvt.colorUL: S_blue
URXVT.borderColor: S_bgrnd_hi
URxvt.highlightColor: S_bgrnd_hi
! apperance {{{
URxvt.scrollBar : false
URxvt.fade : 0
URxvt.cursorBlink : true
URxvt.tripleclickwords : true
URxvt.geometry : 165x36
URxvt.internalBorder : 0
URxvt.saveLines : 10000
URxvt.iso14755_52 : false
URxvt.iso14755 : false
URxvt.urgentOnBell : true
! }}}
! plugins, see manpage urxvtperl {{{
URxvt.perl-ext-common : default,clipboard,url-select,-option-popup,-readline,-selection-popup
! url-select
URxvt.urlLauncher : chromium
URxvt.urlButton : 3
URxvt.underlineURLs : false
URxvt.keysym.Control-Shift-U: perl:url-select:select_next
! clipboard
URxvt.keysym.Control-Shift-C: perl:clipboard:copy
URxvt.keysym.Control-Shift-V: perl:clipboard:paste
!URxvt.keysym....-C : perl:clipboard:paste_escaped
! }}}