-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathXresources
59 lines (51 loc) · 1.86 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
! X resources
! Loaded by ~/xsessionrc
! Use "xrdb -merge -cpp /usr/bin/cpp -DHOME=${HOME} Xresources" to reload.
! Use "xrdb -query" to see currently loaded settings.
! Cpp directives (#) and comments (!) must be in the first column.
! Changes to Emacs geometry in init.el take effect after the window is
! created. Changes here take effect before the window is created.
#if HEIGHT > 1100
# define FONT Ubuntu Mono:pixelsize=16
# define TEXT_GEOMETRY 128x60
#elif HEIGHT > 900
# define FONT Ubuntu Mono:pixelsize=14
# define TEXT_GEOMETRY 128x50
#elif HEIGHT > 790
# define FONT Ubuntu Mono:pixelsize=14
# define TEXT_GEOMETRY 128x45
#else
# define FONT Ubuntu Mono:pixelsize=14
# define TEXT_GEOMETRY 120x35
#endif
! emacs(1) settings.
! When launched from a terminal, "emacs" is used.
! When launched from the Xfce whisker menu, "emacs24" is used.
emacs.font: FONT
emacs.geometry: TEXT_GEOMETRY
emacs24.font: FONT
emacs24.geometry: TEXT_GEOMETRY
! rxvt-unicode(1) settings.
URxvt.font: xft:FONT
URxvt.geometry: TEXT_GEOMETRY
URxvt.loginShell: true
URxvt.saveLines: 1000
URxvt.scrollBar_right: true
URxvt.scrollTtyOutput: false
! See https://github.com/muennich/urxvt-perls/blob/master/README.md
URxvt.perl-lib: HOME/.urxvt/perl/
URxvt.perl-ext-common: default,matcher,clipboard
! click on URL to launch (perl-ext-common:matcher)
URxvt.urlLauncher: x-www-browser
URxvt.matcher.button: 1
! Ctrl-C, Ctrl-V clipboard interaction (perl-ext-common:clipboard)
!URxvt.keysym.Shift-Control-C: perl:clipboard:copy
!URxvt.keysym.Shift-Control-V: perl:clipboard:paste
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
! Default for OpenBSD is to make new xterms process .profile.
! It makes debugging .profile changes easier.
XTerm*loginShell: true
XTerm.vt100.font: xft:FONT
XTerm.vt100.geometry: TEXT_GEOMETRY